Exercise · Volume 1 · 1.2.4-13
Exercise 1.2.4-13
proved in Lean solution written
| Rating | M00 |
|---|---|
| Markers | M (mathematical) |
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.2.4 of Volume 1. Companion chapter: Integer functions and elementary number theory |
The task
Find the integers that are relatively prime to , given that .
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 the condition with the convention and solve it for .
Solution
Show the solution
By the convention, . This equals if and only if , that is or . Only and are relatively prime to .
Check
, , . This fits the fact that every integer divides : a common divisor of and is any divisor of , and the greatest is .
Remarks
With this convention, Law B for says: if , then and the congruence modulo is an equality. This is true, which supports the convention. See Exercise 1.2.4-11 and Exercise 1.2.4-12.
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_4.Ex13.statementaxioms: none - Solution:
TAOCP.S1_2_4.Ex13.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.