Solution :
If [tex]S_n[/tex] is the total spending generated after n transactions, then [tex]a_n[/tex] is the spending generated during the n-th transaction. Since the government spends D dollars, then [tex]a_1[/tex] = D.
Then the second person will receive D dollars and spend [tex]D_c[/tex] dollars. Therefore, [tex]a_2=D_c[/tex]. The next person will receive [tex]D_c[/tex] dollars, which means they are spending [tex]a_3 = (D_c)c = Dc^2[/tex] dollars. Therefore,
[tex]a_1 = D[/tex]
[tex]a_2=D_c[/tex]
[tex]a_3 = Dc^2[/tex]
[tex]a_4 = (Dc^2)c= Dc^3[/tex]
....
[tex]a_n=Dc^{n-1}[/tex]
∴ [tex]S_n=a_1+a_2+a_3+....+a_n[/tex]
[tex]S_n = D+Dc+Dc^2+Dc^3+...+Dc^{n-1}[/tex]
[tex]S_n= D(1+c+c^2+...+c^{n-1})[/tex]
[tex]S-n=D . \frac{1-c^n}{1-c}[/tex]