Learn · Volume 1 · in the Volume 1 course
Section 1.2.4. Integer functions and elementary number theory
46 exercises: 46 with a written solution, 33 stated in Lean, 33 proved in Lean.
1. Read first
The companion chapter builds on these. Read the ones you do not know yet.
- P1. Proof, induction and invariants
- P2. Concrete mathematics
- P7. Machines, programs and their correctness
- C1, Section 1.2.1. Mathematical induction draft
2. Read the section
Read Section 1.2.4 in your copy of the book. Then read the companion chapter Integer functions and elementary number theory (a draft): it explains each item in the words of the handbook, with examples and proofs. The items of the section and their status.
3. Work the exercises
The exercises of this section train three skills. The first is to prove facts about the floor and the ceiling with the equivalences of Exercise 3. The second is to use the laws of congruence, up to Fermat's and Euler's theorems and the multiplicative functions. The third is to sum floors, from the small cases of Exercises 33 to 36 to the reciprocity laws of Exercises 37, 45 and 46.
Do Exercises 1, 2, 5 and 8 to 13 first: they fix the meaning of the floor, the ceiling and the remainder for negative and real arguments. Then do Exercises 3, 4, 6, 7, 14 to 23 and 25 to 28 in the order of their ratings. Take Exercises 29 to 34 next, then the sums of Exercises 35, 36 and 41 to 44, and last Exercises 37 to 39, 45 and 46. Exercise 24 is a discussion, and Exercise 40 is an open research problem.
From the Solutions volume of the handbook. The source.
The list starts with the lowest rating. Try each exercise on paper first. Its page has the hints one at a time, the solution behind a click, and the Lean status.
| Exercise | Rating | Kind | Solution | Lean |
|---|---|---|---|---|
| 1.2.4-1 | 00 | K3 | written checked | proved |
| 1.2.4-8 | 00 | K3 | written checked | proved |
| 1.2.4-11 | 00 | K3 | written checked | proved |
| 1.2.4-12 | 00 | K3 | written checked | proved |
| 1.2.4-13 | M00 | K3 | written checked | proved |
| 1.2.4-2 recommended | 01 | K3 | written checked | proved |
| 1.2.4-25 | M02 | K1 | written checked | proved |
| 1.2.4-9 | 05 | K3 | written checked | proved |
| 1.2.4-3 | M10 | K1 | written checked | proved |
| 1.2.4-4 recommended | M10 | K1 | written checked | proved |
| 1.2.4-10 recommended | 10 | K3 | written checked | proved |
| 1.2.4-15 | 10 | K1 | written checked | proved |
| 1.2.4-16 | M10 | K1 | written checked | proved |
| 1.2.4-19 recommended | M10 | K1 | written checked | proved |
| 1.2.4-22 recommended | M10 | K1 | written checked | proved |
| 1.2.4-23 | M10 | K1 | written checked | proved |
| 1.2.4-14 recommended | 12 | K3 | written checked | proved |
| 1.2.4-7 | M15 | K1 | written checked | proved |
| 1.2.4-17 | M15 | K1 | written checked | proved |
| 1.2.4-18 | M15 | K1 | written checked | proved |
| 1.2.4-20 | M15 | K1 | written checked | proved |
| 1.2.4-26 | M15 | K1 | written checked | proved |
| 1.2.4-27 | M15 | K1 | written checked | proved |
| 1.2.4-5 | 16 | K3 | written checked | proved |
| 1.2.4-32 | M18 | K1 | written checked | proved |
| 1.2.4-33 | M18 | K3 | written checked | proved |
| 1.2.4-6 recommended | 20 | K2 | written checked | proved |
| 1.2.4-24 recommended | M20 | informal | written checked | not stated yet |
| 1.2.4-35 recommended | M20 | K1 | written checked | not stated yet |
| 1.2.4-34 recommended | M21 | K3 | written checked | proved |
| 1.2.4-21 | M22 | K1 | written checked | proved |
| 1.2.4-29 | M22 | K1 | written checked | proved |
| 1.2.4-31 | M22 | K1 | written checked | proved |
| 1.2.4-36 | M23 | K1 | written checked | not stated yet |
| 1.2.4-41 | M23 | K3 | written checked | not stated yet |
| 1.2.4-43 | M23 | K3 | written checked | not stated yet |
| 1.2.4-42 | M24 | K1 | written checked | not stated yet |
| 1.2.4-44 | M24 | K1 | written checked | not stated yet |
| 1.2.4-28 recommended | M25 | K1 | written checked | proved |
| 1.2.4-38 | M26 | K1 | written checked | not stated yet |
| 1.2.4-45 recommended | M28 | K1 | written checked | not stated yet |
| 1.2.4-46 | M29 | K3 | written checked | not stated yet |
| 1.2.4-30 | M30 | K1 | written checked | proved |
| 1.2.4-37 recommended | M30 | K1 | written checked | not stated yet |
| 1.2.4-39 | HM35 | K1 | written checked | not stated yet |
| 1.2.4-40 | HM46 | K9 | written checked | not stated yet |
Something is wrong? Report it.