Exercise · Volume 1 · 1.2.4-23
Exercise 1.2.4-23
proved in Lean solution written
| Rating | M10 |
|---|---|
| Markers | M (mathematical) |
| 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 modulo and modulo but not modulo , so that Law D needs .
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 . Then the product is larger than the common modulus.
Solution
Show the solution
Take , and . Then is a multiple of and of . But does not divide . So holds twice and fails. Here .
Check
A pair with different moduli: , , , . Both and divide , but does not. In this case the true modulus is : the congruence holds modulo .
Remarks
For general and the congruence modulo and is equivalent to the congruence modulo . Exercise 1.2.4-18 is the special case .
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.Ex23.statementaxioms: none - Solution:
TAOCP.S1_2_4.Ex23.solvedaxioms: none
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.