Given, a = 5 and S3 = 531.
Using formula Sn=r−1a(rn−1) we get,
⇒S3=r−15(r3−1)⇒531=r−15(r3−1)⇒31(r−1)=25(r3−1)⇒25(r−1)(r2+r+1)=31(r−1)
Dividing by (r - 1) on both sides we get,
⇒25(r2+r+1)=31⇒25r2+25r+25=31⇒25r2+25r+25−31=0⇒25r2+25r−6=0⇒25r2+30r−5r−6=0⇒5r(5r+6)−1(5r+6)=0⇒(5r−1)(5r+6)=0⇒5r−1=0 or 5r+6=0⇒5r=1 or 5r=−6⇒r=51 or r=−56.
Hence, the common ratio of the G.P. is 51 or −56.