How Do You Sum the First n Terms of a Sequence of Repeated 7s?

  • Thread starter Thread starter Jameson
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on deriving a formula to sum the first n terms of a sequence defined by repeated 7s, specifically where a_1=7, a_2=77, a_3=777, and so forth. The derived formula for the sum S_n is S_n = (7/81)(10^(n+1) - 9n - 10). Additionally, several members successfully proved the validity of this formula through mathematical induction, confirming its accuracy for all integers n ≥ 1. Key contributors included soroban, BAdhi, Reckoner, Sudharaka, and veronica1999, with Reckoner providing a detailed proof by induction.

PREREQUISITES
  • Understanding of geometric series and their sums
  • Familiarity with mathematical induction
  • Basic knowledge of sequences and series
  • Ability to manipulate algebraic expressions
NEXT STEPS
  • Study the properties of geometric series in depth
  • Learn about mathematical induction techniques and examples
  • Explore advanced sequences and series concepts
  • Practice deriving formulas for other types of sequences
USEFUL FOR

Mathematicians, educators, students studying sequences and series, and anyone interested in mathematical proofs and derivations.

Jameson
Insights Author
Gold Member
MHB
Messages
4,533
Reaction score
13
Thank you to grgrsanjay for this idea.

Given the sequence where [math]a_1=7[/math], [math]a_2=77[/math], [math]a_3=777[/math] and so on, derive a formula for summing the first n terms of the sequence.

Bonus: Prove through induction that this formula is valid.

Remember to read the http://www.mathhelpboards.com/threads/773-Problem-of-the-Week-%28POTW%29-Procedure-and-Guidelines to find out how to http://www.mathhelpboards.com/forms.php?do=form&fid=2!
 
Last edited:
Physics news on Phys.org
Congratulations to the following members for their correct solutions:

1) soroban (derivation of formula)
2) BAdhi (derivation of formula)
3) Reckoner (derivation of formula and proof by induction)
4) Sudharaka (derivation of formula and proof by induction)
5) veronica1999 (proof by induction)

Honorable mention goes to sbhatnagar who was completely correct until the very last line of the solution, but made a small error in the final answer.

Solution:

Derivation of formula (from soroban)
[sp][tex]S_n \;=\;7 + 77 + 777 + 777 + \cdots + \underbrace{777\cdots7}_{n\:7's}[/tex]

. . . [tex]=\;7\big(1 + 11 + 111 + 1111 + \cdots + \underbrace{111\cdots1}_{n\:1's}\big)[/tex]

. . . [tex]=\;7\left(\frac{10-1}{9} + \frac{10^2-1}{9} + \frac{10^3-1}{9} + \frac{10^4-1}{9} + \cdots + \frac{10^n-1}{9}\right)[/tex]

. . . [tex]=\;\tfrac{7}{9}\bigg[\underbrace{(10 + 10^2 + 10^3 + \cdots + 10^n)}_{\text{geometric series}} - \underbrace{(1 + 1 + 1 + \cdots + 1)}_{n\:1's}\bigg][/tex]

[tex]\text{The geometric series has the sum: }\:10\!\cdot\!\frac{10^n-1}{9}[/tex][tex]S_n \;=\;\tfrac{7}{9}\bigg[10\cdot\frac{10^n-1}{9} - n\bigg][/tex]

[tex]S_n \;=\;\tfrac{7}{81}\left(10^{n+1} - 9n - 10\right)[/tex]

[/size][/sp]

Proof by induction (from Reckoner)

[sp]Proof, using induction: For \(n = 1\), the sum is simply the first term in the sequence, \(a_1 = 7\). The formula gives

\[\frac7{81}\left(10^2-9-10\right) = \frac7{81}\cdot81 = 7,\]

which proves the base case. Now, assume that the formula gives the correct sum when \(n = k\). If \(n = k+1\) we have

\[\sum_{i=1}^{k+1}a_i = a_{k+1} + \sum_{i=1}^ka_i\]

\[=\frac79\left(10^{k+1}-1\right) + \frac7{81}\left(10^{k+1}-9k-10\right)\]

\[=\frac7{81}\left(9\cdot10^{k+1} - 9\right) + \frac7{81}\left(10^{k+1} - 9k-10\right)\]

\[=\frac7{81}\left(10\cdot10^{k+1} - 9k - 9 - 10\right)\]

\[=\frac7{81}\left[10^{(k+1)+1} - 9(k + 1) - 10\right]\]

Therefore the formula is valid for all integers \(n\geq1\):[/sp]
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K