Find the sum of the sequence 7, 77, 777, 7777, ... to nn terms.

Answer: Sn=79(10(10n−1)9−n)S_n = \frac{7}{9}\left(\frac{10(10^n - 1)}{9} - n\right)

Step-by-step solution

Step 1: Express terms in a general form

The given sequence is 7,77,777,…7, 77, 777, \dots. We need to find the sum of the first nn terms, denoted as SnS_n. Each term consists of the digit 7 repeated a certain number of times.

Step 2: Factor out 7 and rewrite terms

We can factor out 7 from each term in the sum. This simplifies the expression and allows us to work with a sequence of ones.

Step 3: Convert terms to powers of 10

To express the terms in a more manageable form, we multiply and divide by 9. This allows us to write each term as a difference of powers of 10, for example, 9=10−19 = 10 - 1, 99=100−199 = 100 - 1, and so on.

Step 4: Separate into two geometric progressions

Now we can separate the sum into two parts: a sum of powers of 10 and a sum of nn ones. The sum of powers of 10 forms a geometric progression.

Step 5: Apply geometric series formula

The sum of the geometric progression 10+102+⋯+10n10 + 10^2 + \dots + 10^n is given by the formula a(rn−1)/(r−1)a(r^n - 1)/(r - 1), where a=10a=10 and r=10r=10. The sum of nn ones is simply nn.

Step 6: Simplify the expression

Finally, we simplify the expression by performing the subtraction in the denominator and distributing the terms.

More from this chapter

All Sequences and Series solutions →

Solve your own maths question free →