Exercise · Volume 1 · 1.2.4-22
Exercise 1.2.4-22
proved in Lean solution written
| Rating | M10 |
|---|---|
| Markers | M (mathematical), recommended |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.4 of Volume 1. Companion chapter: Integer functions and elementary number theory |
The task
Give integers for which Law B fails because and are not relatively prime.
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
Take a modulus with a small divisor, and let be that divisor.
Hint 2
Take . Then the hypothesis is true, and you need with .
Solution
Show the solution
Take , , and .
The hypothesis is true since . Also and and , so . The conclusion is false: is not a multiple of . Here .
Check
In general, with , the numbers and give and , a multiple of , while is not a multiple of . For and this gives and the pair with .
Remarks
Exercise 1.2.4-20 proves Law B under , so every counterexample has . When the factor is not relatively prime, the correct cancellation is modulo .
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.Ex22.statementaxioms: none - Solution:
TAOCP.S1_2_4.Ex22.solvedaxioms: none
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.