Exercise · Volume 1 · 1.2.9-14
Exercise 1.2.9-14
proved in Lean solution written
| Rating | HM21 |
|---|---|
| Markers | HM (needs higher mathematics) |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.9 of Volume 1. Companion chapter: Generating functions |
The task
Prove the formula (13) that extracts the terms with from with the th roots of unity.
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
Write and exchange the sum over with the sum over .
Hint 2
Sum the geometric series in . It depends on whether .
Solution
Show the solution
Let . Then , and exactly when divides . Insert :
The sum over is finite, so the exchange of the two sums is valid for every at which converges (for formal series it needs no argument). Put . If divides , then and . Otherwise and , so . For the condition " divides " is the same as . Hence the inner factor is when and otherwise, and the right side is .
Check
Take , , . The formula gives , the odd terms. For , and the formula gives , and the coefficient at is .
Remarks
The case is Eq. (12). Exercise 1.2.9-19 uses the formula for , and Exercise 1.2.9-26 gives it a compact form.
This solution is drafted, 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_9.Ex14.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_9.Ex14.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.