taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.3-12

Exercise 1.2.3-12

proved in Lean solution written

Rating10
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.3 of Volume 1. Companion chapter: Sums and products

The task

Find the closed form of 1+17+149+⋯+(17)n1 + \frac17 + \frac1{49} + \cdots + (\frac17)^n.

The exact wording is in your copy of the book.

Hints

Open one hint at a time. Try the exercise again after each.

Hint 1

This is Eq. (14) with a=1a = 1 and x=1/7x = 1/7.

Solution

Show the solution

By Eq. (14), with x=1/7≠1x = 1/7 \ne 1 and n≥0n \ge 0, ∑j=0n(17)j=1−7−(n+1)1−1/7=76(1−17n+1).\sum_{j=0}^n \Bigl(\frac17\Bigr)^j = \frac{1 - 7^{-(n+1)}}{1 - 1/7} = \frac{7}{6}\Bigl(1 - \frac{1}{7^{n+1}}\Bigr).

Check

For n=0n = 0 the formula gives 76⋅67=1\frac76 \cdot \frac67 = 1, the one term. For n=1n = 1 it gives 76(1−149)=76⋅4849=87\frac76(1 - \frac1{49}) = \frac76 \cdot \frac{48}{49} = \frac87, and the sum is 1+17=871 + \frac17 = \frac87. For n=5n = 5 the sum is 1960816807\frac{19608}{16807}, and the formula gives the same value.

Remarks

When n→∞n \to \infty the sum tends to 7/67/6. For a geometric series of ratio xx with ∣x∣<1|x| < 1 the limit is 1/(1−x)1/(1 - x).

This solution is checked, and a person has not reviewed it yet. The source.

In Lean

proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.