Exercise · Volume 1 · 1.2.3-14
Exercise 1.2.3-14
proved in Lean solution written
| Rating | 11 |
|---|---|
| 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
Evaluate for integers and .
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
The factor does not depend on . Pull it out of the inner sum, then use the result of Exercise 1.2.3-13 twice.
Solution
Show the solution
For fixed , the inner sum is by the distributive law. The sum does not depend on , so it comes out of the outer sum too: By Exercise 1.2.3-13 the two factors are and , so
Check
For , , , : the sum of is and the sum of is , and the double sum is . The formula gives .
Remarks
This is rule (a) in its simplest use. The same method gives for any two finite ranges.
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.Ex14.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_3.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.