Let the required three numbers of G.P. are ar′a and ar. Then, their sum =ar+a+ar=38
⇒a(1+r+r2r)=38 ....... (i)
product =ar×a×ar=1728
⇒a3=(12)3
∴a=12 ........ (ii)
Substitute the value of a, in equation (i), we get
∴12×(1+r+r2r)=38
⇒6+6r+6r2=19r
⇒6r2−13r+6=0
⇒(3r−2)(2r−3)=0∴r=23 or 32
Hence, the required numbers are 18, 12, 8 or 8, 12, 18
∴ Greatest number = 18.