The correct option is
A 6Working backwards from the options given, we gave the solution as follows.
Let us assume the number of friends to be 6.
Then they can be written as a,ar,ar2,ar3,ar4,ar5
Given
a+ar5=a(1+r5)=66
ar(ar4)=a2r5=128
a(r6−1r−1)=126
a=661+r5
a=661+(128/a2)⟹66a=a2+128⟹a2+128−66a=0⟹a=2,64⟹r=2
If a equals r equals 2, then the GP will be 2,4,8,16,32,64.
SO, there were 6 friends. Option A