Exercise · Volume 1 · 1.2.3-2
Exercise 1.2.3-2
proved in Lean solution written
| Rating | 01 |
|---|---|
| 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
Say which terms the sum over all integers with has when .
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 index is an integer. Only the relation under the sign decides which values of occur, so need not be an integer.
Solution
Show the solution
The integers with are , and . The integer is too large. So
Check
The sum with the limits has the same three terms. For both give .
Remarks
The sum with a relation under the sign is defined by the set of the integers that satisfy it. This is why the form is more general than . See Exercise 1.2.3-3 for a case where the set of values matters in a subtler way.
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.Ex2.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_3.Ex2.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.