Find the sum of the sequence 7, 77, 777, 7777, ... to n terms.
(1)
This is not a G.P., however, we can relate it to a G.P. by writing the terms as
Sn=7+77+777+7777+⋯ to n terms
=79[9+99+999+9999+⋯ to n terms]
=79[(10-1)+(102-1)+(103-1)+(104-1)+⋯ n terms]
=79[(10+102+103+⋯ n terms)-(1+1+1+⋯ n terms)]
=79[10(10n-1)10-1-n]=79[10(10n-1)9-n]