Exercise · Volume 1 · 1.2.3-15
Exercise 1.2.3-15
proved in Lean solution written
| Rating | M22 |
|---|---|
| Markers | M (mathematical), recommended |
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.2.3 of Volume 1. Companion chapter: Sums and products |
The task
Find a closed form for . Compute small cases first, then derive the form by manipulations like those for Eq. (14).
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
Compute and compare with powers of . The differences from a multiple of show a pattern.
Hint 2
Compare with . Shift the index of by one so that the powers of line up.
Hint 3
After the subtraction, most terms cancel and a geometric sum is left.
Solution
Show the solution
Small cases. , , , , , . Next to the values are , , , , , . The pattern is .
Derivation. Let . By rule (a) and rule (b) with , Subtract . Both sums have the terms with . Split off the term of the first and the term of the second (rule (d), valid for ): The geometric sum is (this is Eq. (14) with the term removed: , minus ). Hence
Check
The formula gives , , , and , in agreement with the table. For it gives , the empty sum.
Remarks
Exercise 1.2.3-16 does the same for a general , and the present sum is the case of it.
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.
- Problem:
TAOCP.S1_2_3.Ex15.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_3.Ex15.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.