Exercise · Volume 1 · 1.2.6-10
Exercise 1.2.6-10
proved in Lean solution written
| Rating | M25 |
|---|---|
| Markers | M (mathematical) |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.6 of Volume 1. Companion chapter: Binomial coefficients |
The task
For a prime , prove six congruences modulo for binomial coefficients, ending with Lucas's theorem and its form in base digits.
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
For (b), (c) and (d) use eq. 1.2.6(7) and the product form of .
Hint 2
For Lucas's theorem work in the ring of polynomials modulo and expand . The key fact is .
Hint 3
Write with . Then , and the powers from the second factor are below , so they cannot mix with the powers of .
Solution
Show the solution
Plan: prove (b), (c), (d) by direct arguments, prove Lucas's theorem (e) with polynomials, and get (a) and (f) from (e).
(b) Let . By eq. 1.2.6(7), . The prime divides the right side. It does not divide , since . So divides .
(c) Let . The definition (3) gives Multiply by , which is prime to since : . Cancel , which is allowed modulo because . The result is .
(d) Let . Eq. 1.2.6(9) gives . Both and are in the range to , so both terms are by (b).
(e) Work with polynomials whose coefficients are taken modulo . By (b), the binomial theorem (13) gives , because the middle coefficients are . Let with and . Then Let with . A term of the product has the exponent with . It equals only for and , because fixes as the remainder of the exponent modulo . So the coefficient of in the product is . The coefficient of in is . Hence
(a) Put in (e): then , , and .
(f) Induct on . For both and are below , and there is nothing to prove. For , the numbers and have the digits and , and , . By (e) and the induction hypothesis, .
Check
Take , , . Then , and Lucas's rule gives . For (a), . For (c) with , : .
Remarks
Part (f) shows that is divisible by exactly when some digit of exceeds the digit of in the same place. Exercise 1.2.6-11 gives the exact power of and Exercise 1.2.6-12 uses the case .
This solution is drafted, 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. Lean states the parts one by one.
- Problem (a):
TAOCP.S1_2_6.Ex10.a.statementaxioms: propext - Solution (a):
TAOCP.S1_2_6.Ex10.a.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (b):
TAOCP.S1_2_6.Ex10.b.statementaxioms: propext - Solution (b):
TAOCP.S1_2_6.Ex10.b.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (c):
TAOCP.S1_2_6.Ex10.c.statementaxioms: propext - Solution (c):
TAOCP.S1_2_6.Ex10.c.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (d):
TAOCP.S1_2_6.Ex10.d.statementaxioms: propext - Solution (d):
TAOCP.S1_2_6.Ex10.d.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (e):
TAOCP.S1_2_6.Ex10.e.statementaxioms: propext - Solution (e):
TAOCP.S1_2_6.Ex10.e.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (f):
TAOCP.S1_2_6.Ex10.f.statementaxioms: Classical.choice, Quot.sound, propext - Solution (f):
TAOCP.S1_2_6.Ex10.f.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.