Arithmetic Functions
6.1 Arithmetic Functions
Section titled “6.1 Arithmetic Functions”Definition. An arithmetic function is a function .
The subject studies how these functions interact with factorisation. Two operations:
- Pointwise addition: .
- Dirichlet convolution: .
Convolution is commutative and associative, with identity if else 0. A function is multiplicative if whenever ; the central property: a multiplicative function is determined by its values on prime powers.
6.2 The Totient and Its Formula
Section titled “6.2 The Totient and Its Formula”(see Fermat, Euler and Wilson) is multiplicative, which proves the product formula:
Why. (the non-coprime residues are exactly the multiples of ), and multiplicativity handles coprime factors. Example: .
6.3 Divisor Functions
Section titled “6.3 Divisor Functions”The divisor function counts positive divisors; sums them. For :
Why. Divisors choose one power of each prime; the geometric-series sum arises from multiplying out .
Both are multiplicative. is perfect when ; the even perfect numbers are exactly with prime (Euler, and the Mersenne connection).
6.4 The Möbius Function
Section titled “6.4 The Möbius Function”Key identity: (1 at , else 0). The inversion theorem:
Classical application. Since , Möbius inversion recovers ; the product formula drops out of the number-theoretic machinery instead of being assumed.
6.5 The Divisor-Sum Identity for the GCD
Section titled “6.5 The Divisor-Sum Identity for the GCD”A standard exam theorem:
Proof. Partition the fractions , , by reduced denominator: each reduces to in lowest terms with , ; and there are exactly of those for each . The classes exhaust the fractions.
6.6 Worked Problems
Section titled “6.6 Worked Problems”Problem 1. Compute , and .
:
Problem 2. How many pairs… i.e. how many integers satisfy ?
iff with and . Count , , : coprime values, of which those with … inclusion–exclusion: multiples of 5 that are coprime to 144: , , : count coprime to 144 up to 28 directly = 13. So values of , giving for exactly 35 integers.
6.7 Common Pitfalls
Section titled “6.7 Common Pitfalls”- Multiplicativity needs coprimality: holds by luck ( and are coprime ✓); but fails because share the factor 2.
- vs : some books write with , . Read conventions carefully.
- Möbius values are 0 exactly when is divisible by a square; “square-free with prime factors” gives .
See Also
Section titled “See Also”- Fermat, Euler and Wilson Theorems
- Primitive Roots
- The Distribution of Primes A final sanity check: , , and ; the empty product conventions that keep every formula valid at .