Let a,ar,ar2 be in G.P.,
∴a(1+r+r2)=26 ...(1)
Also a+1,ar+6,ar2+3 are in A.P.
∴2(ar+6)=(a+1)+(ar2+3) or
a(r2−2r+1)=8...(2)
Dividing (1) and (2) and simplifying , we get
18(r2+1)=60r
or
3r2−10r+3=0∴(r−3)(3r−1)=0∴r=3,13,
Putting in (1), a=2,18.
∴The numbers are 2,6,18 or 18,6,2