Let the numbers be a−d,a,a+d,a+2d
According to the hypothesis,
(a−d)2+a2+(a+d)2=a+2d
i.e 2d2−2d+3a2−a=0
∴d=12[1±√(1+2a−6a2)]
Since, d is a positive integer,
1+2a−6a2>0
a2−a3−16<0
(a−1−√76)(a−1+√76)<0
(1−√76)<a<(1+√76)
Since a is an integer,
∴a=0
then d=12[1±1]=1or0. Sinced>0∴d=1
Hence, the numbers are −1,0,1,2