Exercise · Volume 1 · 1.2.4-29
Exercise 1.2.4-29
proved in Lean solution written
| Rating | M22 |
|---|---|
| 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
Show that four kinds of functions of a positive integer are multiplicative, that is, whenever .
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) and (c), look at the primes that divide and . If , no prime divides both.
Hint 2
For (b), use Euclid's lemma on a prime with .
Solution
Show the solution
Let . Then no prime divides both and , since it would be a common divisor greater than .
(a) . This holds for any and does not use .
(b) Let if no with divides , and otherwise. If with , then . So or implies , and the product is as well. Now suppose . Then for some . Let be a prime divisor of , so . Since , or . Say ; then , so (a common prime divisor would be ). Law B in the form shows , that is , and . The case is the same. So implies or . Since the values are only and , in all cases.
(c) Let be the number of distinct primes that divide . The primes that divide are those that divide together with those that divide (Euclid's lemma), and the two sets are disjoint. So and . The value at is .
(d) If and are multiplicative, then .
Check
For (b): , and with . For (c) with : , , , and . A run over all coprime pairs confirms (a) to (d) for and .
Remarks
The function in (b) is the absolute value of the Moebius function . Exercise 1.2.4-31 shows that a sum over divisors of a multiplicative function is multiplicative, and Exercise 1.2.4-30 proves that is multiplicative.
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.Ex29.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_4.Ex29.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.