Skip to content
Worked Examples · Example 10

Q.Find the sum of the sequence 7,77,777,7777,…7, 77, 777, 7777, \ldots to nn terms.

CBSENCERTSubjective· 3mImportance★★★★★est
49% · 56/114 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The sum of the sequence 7,77,777,…7, 77, 777, \ldots to nn terms is found by rewriting each term as 79(10k−1)\frac{7}{9}(10^k - 1) and summing two separate series. The final result is 781(10n+1−9n−10)\frac{7}{81}\left(10^{n+1} - 9n - 10\right).

This problem is a classic example of a geometric progression in disguise. At first glance, the terms 7,77,777,…7, 77, 777, \ldots don't look like a standard GP — the ratio between successive terms isn't constant. But the pattern is clear: each term is a string of 7's. The trick is to connect each term to powers of 10.

Think about it: 7=7×17 = 7 \times 1, 77=7×1177 = 7 \times 11, 777=7×111777 = 7 \times 111, and so on. The numbers 1,11,111,…1, 11, 111, \ldots themselves aren't a GP either. But notice: 1=10−191 = \frac{10 - 1}{9}, 11=102−1911 = \frac{10^2 - 1}{9}, 111=103−19111 = \frac{10^3 - 1}{9}. That's the key — each term becomes a simple expression involving 10k10^k, and then we can sum the resulting geometric series.

Let's work it out step by step.

  1. Rewrite the general term. The kk-th term of the sequence is a number with kk digits, all 7's.

Tk=777…7(k digits)=7×111…1(k ones)T_k = 777\ldots7 \quad (k \text{ digits}) = 7 \times 111\ldots1 \quad (k \text{ ones})

And 111…1111\ldots1 (k ones) = 10k−19\frac{10^k - 1}{9}. So:

Tk=7⋅10k−19=79(10k−1)T_k = 7 \cdot \frac{10^k - 1}{9} = \frac{7}{9}(10^k - 1)

  1. Write the sum to nn terms. Let Sn=T1+T2+⋯+TnS_n = T_1 + T_2 + \cdots + T_n. Then:

Sn=79∑k=1n(10k−1)=79(∑k=1n10k−∑k=1n1)S_n = \frac{7}{9} \sum_{k=1}^n (10^k - 1) = \frac{7}{9} \left( \sum_{k=1}^n 10^k - \sum_{k=1}^n 1 \right)

  1. Sum the geometric series. ∑k=1n10k\sum_{k=1}^n 10^k is a GP with first term 1010, common ratio 1010, and nn terms. Its sum is:

∑k=1n10k=10⋅10n−110−1=10(10n−1)9\sum_{k=1}^n 10^k = 10 \cdot \frac{10^n - 1}{10 - 1} = \frac{10(10^n - 1)}{9}

And ∑k=1n1=n\sum_{k=1}^n 1 = n.

  1. Put it together. Sn=79(10(10n−1)9−n)S_n = \frac{7}{9} \left( \frac{10(10^n - 1)}{9} - n \right) …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.