Professional Documents
Culture Documents
Lec15 ArithmetcFunctions2
Lec15 ArithmetcFunctions2
1 Continuation
1.1. The Summatory Function. Let f be an arithmetic function.
P
Then F (n) = f (d) represents the sum of values of f at all the positive divisors of n.
d|n
The function F is called the summatory function of f .
Example.
Proof. Split the set {1, 2, . . . , n} into (equivalent) classes Cd such that q ∈ Cd if and
only if (q, n) = d.
Thus q ∈ Cd if and only if (q/d, n/d) = 1.
This implies that |Cd | = |{q | 1 ≤ q ≤ nd and (q, nd ) = 1}|, that is, |Cd | = φ(n/d).
Since the Cd are disjoint and each q ∈ {1, . . . , n} belongs to Cd for some d we have
X X
n= φ(n/d) = φ(n)
d|n d|n
P P
Exercise 1. Prove that for any integer n > 0, d= n/d.
d|n d|n
Exercise 2. Verify the proof of Theorem 1.1 with n = 18. Obtain the sets
Cd = {m | 18 and (m, 18) = d} for d = 1, 2, 3, 6, 9, 18. Show that |Cd | = φ(18/d). Hence
verify the theorem directly.
1
Prof A. Munagi Lec15: Arithmetic Functions II MATH4024-Number Theory
= F (m)F (n).
E.g. τ (1) = 1, τ (2) = 2, τ (4) = 3, . . .. If p is prime, then τ (p) = 2 since the only
divisors are 1 and p. Earlier we saw the six divisors of 18, hence τ (18) = 6, etc.
The sum of divisors function, denoted by σ, is defined by setting σ(n) equal to the
sum of all the positive divisors of n:
X
σ(n) = d.
d|n
2
Prof A. Munagi Lec15: Arithmetic Functions II MATH4024-Number Theory
It is easy to show that τ and σ are multiplicative functions, thanks to Theorem 1.2.
Proof. Define u(n) = 1 and I(n) = n. Both u and I are clearly multiplicative functions.
Thus from Theorem 1.2 it follows that τ and σ are multiplicative because
X X X X
τ (n) = 1= u(n) and σ(n) = d= I(d).
d|n d|n d|n d|n
Using Corollary 1.4 and Proposition 1.3 (with Exerc. 2, Lec14) we easily deduce
the following formulas.
Theorem 1.5. Let the prime-power factorization of n be n = pa11 pa22 · · · pakk . Then
k
Y
τ (n) = (a1 + 1)(a2 + 1) · · · (ak + 1) = (aj + 1)
j=1
and
k a +1
pa1 +1 − 1 pa22 +1 − 1 pak +1 − 1 Y pj
j
−1
σ(n) = 1 · ··· k = .
p1 − 1 p2 − 1 pk − 1 j=1
p j − 1
[Recall that we found the formula for τ earlier using a different method (how?).]
Exercise 5. Compute σ(n) given that (a) n = 100, (b) n = 2100 (c) n = 2 · 3 · 5 · 7 · 11
(d) n = 25 · 34 · 53 · 72 · 11 (e) n = 10!.