Exercise · Volume 1 · 1.2.6-38
Exercise 1.2.6-38
stated in Lean solution written
| Rating | HM30 |
|---|---|
| Markers | HM (needs higher mathematics) |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.6 of Volume 1. Companion chapter: Binomial coefficients |
The task
Prove Ramus' formula for the sum of the entries over all .
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
Pick out the indices with the th roots of unity.
Hint 2
Sum the binomial theorem over those roots.
Hint 3
Write for , and keep the real part.
Solution
Show the solution
Plan: a filter with roots of unity turns the sum into a sum of binomial expansions. Then each term is put in polar form.
Let . For an integer , if , and otherwise. This is a geometric sum with the ratio . If , the sum is . So The last step uses the binomial theorem, .
Put . Then and . Also . So the th term is The number is real, so it equals the real part of the sum: For the terms with have a negative lower index and are zero, so is the sum .
Check
For , , the entries , and the right side evaluates to . For , , the sum is , and the right side gives . For and it gives , the result of Exercise 1.2.6-37.
Remarks
The same filter gives for any . For and the sum is .
This solution is drafted, and a person has not reviewed it yet. The source.
In Lean
stated The statement is in Lean and it builds. The proof is not in Lean yet.
- Problem:
TAOCP.S1_2_6.Ex38.statementaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.