Let, the four distinct integers are,
a−3d,a−d,a+d,a+3d
According to the question,
a+3d=(a−3d)2+(a−d)2+(a+d)2⇒3a2−(6d+1)a+(11d2−3d)=0⟶(1)
for a to be real,
[−(6d+1)]2−4×3(11d2−3d)≥0⇒−96d2+48d+1≥0⇒96d2−48d−1≤0
If d≥1 the expression is greater than zero.
So, 0<d<1
Now, by hit and trial method,
d=12
Putting d=12 in equation (1),
3a2−[(6×12)+1]a+11(12)2−3(12)=0⇒12a2−16a+5=0⇒a=12ora=56
but for a=56
a−3d,a−d,a+d,a+3d are not integers.
∴a=12
and the integers are −1,0,1,2
Hence, the largest number is 2.