Unit 5: Arithmetical Functions & Dirichlet Convolution
Structural theory of arithmetical functions: multiplicative and completely multiplicative functions, divisor functions $\tau(n)$ and $\sigma(n)$, the Euclid-Euler Theorem completely characterizing even perfect numbers, Fermat numbers $F_n = 2^{2^n} + 1$ and Pepin's test, and the algebraic ring of arithmetical functions endowed with the Dirichlet convolution product $(f * g)(n) = \sum_{d \mid n} f(d) g(n/d)$ and Dirichlet inverses.
§5.1 Multiplicative Functions & Divisor Sum Transforms
1. Definition of Arithmetical Functions
Definition 5.1 (Arithmetical Function): An arithmetical function (or number-theoretic function) is any complex-valued function defined on the set of positive integers:
2. Multiplicative and Completely Multiplicative Functions
Definition 5.2 (Multiplicativity): An arithmetical function $f$ is called:
- Multiplicative if $f$ is not identically zero and:
- Completely Multiplicative (or strongly multiplicative) if:
Theorem 5.1 (Canonical Evaluation of Multiplicative Functions): If $f$ is multiplicative:
- $f(1) = 1$.
- For any positive integer with prime factorization $n = p_1^{a_1} p_2^{a_2} \cdots p_k^{a_k}$:
Thus, any multiplicative function is completely determined by its values on prime powers!
3. Divisor Sum Transforms
Theorem 5.2 (Preservation of Multiplicativity under Divisor Sums): If $f$ is a multiplicative function, then its summatory function (divisor sum transform):
is also a multiplicative function.
Proof: Let $m, n \in \mathbb{N}$ with $\gcd(m, n) = 1$. Any divisor $d$ of $m n$ can be uniquely factored as $d = d_1 d_2$ where $d_1 \mid m$, $d_2 \mid n$, and $\gcd(d_1, d_2) = 1$. Therefore:
Since $f$ is multiplicative and $\gcd(d_1, d_2) = 1$:
Substituting this in:
Hence, $F$ is multiplicative. $\blacksquare$
§5.2 The Divisor Functions tau(n) and sigma(n)
1. The Number of Divisors $\tau(n)$ and Sum of Divisors $\sigma(n)$
Definition 5.3 (Divisor Functions): For any real or complex number $\alpha$, the generalized divisor function $\sigma_\alpha(n)$ is:
Two special cases are of paramount importance:
- Divisor count function ($\alpha = 0$):
- Divisor sum function ($\alpha = 1$):
2. Multiplicativity and Prime-Power Formulas
Both constant function $u(n) = 1$ and identity function $N(n) = n$ are completely multiplicative. By Theorem 5.2, $\tau(n) = \sum_{d \mid n} 1$ and $\sigma(n) = \sum_{d \mid n} d$ are multiplicative functions.
Theorem 5.3 (Formulas for $\tau(n)$ and $\sigma(n)$): For a prime power $p^a$ ($a \ge 1$):
- Divisors of $p^a$ are $\{1, p, p^2, \dots, p^a\}$:
- Sum of divisors is a finite geometric series:
For any integer $n = p_1^{a_1} p_2^{a_2} \cdots p_k^{a_k}$:
Example: For $n = 12 = 2^2 \times 3^1$:
§5.3 Perfect Numbers, Mersenne Primes & The Euclid-Euler Theorem
1. Perfect Numbers
The study of perfect numbers dates back to the Pythagoreans (c. 500 BCE).
Definition 5.4 (Perfect Number): A positive integer $n$ is called a perfect number if the sum of its proper positive divisors equals $n$:
- If $\sigma(n) < 2n$, $n$ is called deficient.
- If $\sigma(n) > 2n$, $n$ is called abundant.
The first four perfect numbers known since antiquity are:
2. Mersenne Primes
Definition 5.5 (Mersenne Number and Prime): A number of the form:
is called a Mersenne number. If $M_p$ is prime, it is called a Mersenne prime.
Lemma 5.1 (Exponent Divisibility): If $2^m - 1$ is a prime number, then $m$ must itself be a prime number.
Proof: Suppose $m$ is composite: $m = a b$ with $1 < a, b < m$. Then $2^m - 1 = 2^{ab} - 1 = (2^a)^b - 1$. Factoring as a difference of $b$-th powers:
Since $a > 1$, $2^a - 1 > 1$. Since $b > 1$, the second factor is $> 1$. Thus $2^m - 1$ is composite, contradicting primality! Hence, $m$ is prime. $\blacksquare$
3. The Euclid-Euler Theorem
Theorem 5.4 (Euclid-Euler Theorem): An even positive integer $n$ is a perfect number if and only if it has the form:
where $2^p - 1$ is a Mersenne prime.
Open Problem in Number Theory: Whether any odd perfect numbers exist remains one of the oldest unsolved problems in mathematics.
§5.4 Fermat Numbers, Pairwise Coprimality & Pepin's Test
1. Fermat Numbers
In 1640, Pierre de Fermat conjectured that all numbers of the form $2^{2^n} + 1$ are prime.
Definition 5.6 (Fermat Number): The $n$-th Fermat number ($n \ge 0$) is defined by:
The first five Fermat numbers are prime:
In 1732, Euler shattered Fermat's conjecture by showing that $F_5$ is composite:
To this day, no other Fermat primes beyond $F_4$ have ever been found!
2. Pairwise Coprimality and the Infinitude of Primes
Theorem 5.5 (Fundamental Fermat Recurrence): For all $n \ge 1$:
Proof (by Mathematical Induction on $n$): For $n = 1$: $F_1 - 2 = 5 - 2 = 3 = F_0$. Assume the identity holds for $n$: $\prod_{k=0}^{n-1} F_k = F_n - 2$. Multiply both sides by $F_n$:
This completes the induction. $\blacksquare$
Theorem 5.6 (Pairwise Coprimality of Fermat Numbers): For any distinct non-negative integers $m \ne n$:
Proof: Without loss of generality, let $m < n$. By Theorem 5.5, $F_m$ divides $\prod_{k=0}^{n-1} F_k = F_n - 2$. Let $d = \gcd(F_m, F_n)$. Then $d \mid F_m \implies d \mid (F_n - 2)$. Also $d \mid F_n$. By linearity of divisibility, $d \mid [F_n - (F_n - 2)] = 2$. Since all Fermat numbers $F_k = 2^{2^k} + 1$ are odd, $d$ cannot be divisible by $2$. Therefore, $d = 1$. $\blacksquare$
Pólya's Proof of Infinitely Many Primes: Since the infinite sequence $F_0, F_1, F_2, \dots$ consists of pairwise coprime integers, and each $F_n$ has at least one prime divisor, there must be at least as many primes as there are Fermat numbers: infinitely many!
3. Pepin's Primality Test for Fermat Numbers
Theorem 5.7 (Pépin's Test, 1877): For $n \ge 1$, the Fermat number $F_n$ is prime if and only if:
§5.5 The Dirichlet Convolution Product & Algebraic Ring of Arithmetic Functions
1. Definition of Dirichlet Convolution
Definition 5.7 (Dirichlet Convolution): Let $f, g: \mathbb{N} \to \mathbb{C}$ be two arithmetical functions. The Dirichlet convolution (or Dirichlet product) of $f$ and $g$, denoted $f * g$, is the arithmetical function defined by:
2. Algebraic Properties of the Dirichlet Ring
Theorem 5.8 (Algebraic Structure): Let $\mathcal{A}$ denote the set of all arithmetical functions $f: \mathbb{N} \to \mathbb{C}$. Then $(\mathcal{A}, +, *)$ forms a commutative ring with identity:
- Commutativity: $f g = g f$.
- Associativity: $(f g) h = f (g h)$.
- Distributivity: $f (g + h) = (f g) + (f * h)$.
- Identity Element: The function $\epsilon(n)$ defined by:
serves as the multiplicative identity:
3. Dirichlet Inverses
Theorem 5.9 (Existence and Uniqueness of Dirichlet Inverses): An arithmetical function $f$ possesses a Dirichlet inverse $f^{-1}$ (satisfying $f * f^{-1} = \epsilon$) if and only if:
If $f(1) \ne 0$, the inverse $f^{-1}$ is unique and can be computed recursively by:
Theorem 5.10 (Preservation of Multiplicativity): If $f$ and $g$ are multiplicative, then their Dirichlet convolution $f * g$ is also multiplicative. Furthermore, if $f$ is multiplicative, then its Dirichlet inverse $f^{-1}$ is also multiplicative.
Step-by-step rigorous derivations with unskipped proofs, categorized into Foundational Concepts, Advanced Structural Analysis, and Honors / Proof Challenge tiers.
Consider the integer $n = 3600$:
- Determine the canonical prime factorization of $3600$.
- Compute the number of positive divisors $\tau(3600)$ using the multiplicative formula.
- Compute the sum of all positive divisors $\sigma(3600)$.
- Determine whether $3600$ is deficient, abundant, or perfect.
1. Canonical Factorization
Factor $3600$:
Collecting powers of identical primes:
2. Number of Divisors $\tau(3600)$
By Theorem 5.3:
Thus, $3600$ has exactly 45 positive divisors. $\blacksquare$
3. Sum of Divisors $\sigma(3600)$
By Theorem 5.3:
Evaluate each geometric factor:
- For $p = 2$: $\frac{2^5 - 1}{1} = \frac{32 - 1}{1} = 31$
- For $p = 3$: $\frac{3^3 - 1}{2} = \frac{27 - 1}{2} = \frac{26}{2} = 13$
- For $p = 5$: $\frac{5^3 - 1}{4} = \frac{125 - 1}{4} = \frac{124}{4} = 31$
Multiplying these together:
4. Classification
Compare $\sigma(n)$ with $2n$:
Since $\sigma(3600) = 12493 > 7200$:
- Prove that if $2^p - 1$ is prime, then the exponent $p$ must be a prime number.
- Verify that $M_p = 2^p - 1$ is prime for $p \in \{2, 3, 5, 7\}$.
- Compute the four even perfect numbers $n = 2^{p-1}(2^p - 1)$ generated by these Mersenne primes and verify $\sigma(n) = 2n$ for the first two.
1. Proof that $2^p - 1 \text{ Prime} \implies p \text{ Prime}$
Suppose $p$ is composite: $p = a b$ with $1 < a < p$ and $1 < b < p$. Then:
Using the algebraic polynomial identity $x^b - 1 = (x - 1)(x^{b-1} + x^{b-2} + \dots + x + 1)$ with $x = 2^a$:
Since $a > 1$, $2^a - 1 \ge 2^2 - 1 = 3 > 1$. Since $b > 1$, the second factor has at least two positive terms, so it is $> 1$. Thus, $2^p - 1$ has two non-trivial factors $> 1$, meaning it is composite. This contradicts the assumption that $2^p - 1$ is prime. Therefore, the exponent $p$ must be prime! $\blacksquare$
2. Verification of Mersenne Primes
- For $p = 2$: $M_2 = 2^2 - 1 = 3$ (prime)
- For $p = 3$: $M_3 = 2^3 - 1 = 7$ (prime)
- For $p = 5$: $M_5 = 2^5 - 1 = 31$ (prime)
- For $p = 7$: $M_7 = 2^7 - 1 = 127$ (prime) $\blacksquare$
3. Generating the First Four Perfect Numbers
Applying Euclid's formula $n = 2^{p-1}(2^p - 1)$:
- For $p = 2$:
Verification: $\sigma(6) = 1 + 2 + 3 + 6 = 12 = 2(6) \quad \checkmark$
- For $p = 3$:
Verification: $\sigma(28) = 1 + 2 + 4 + 7 + 14 + 28 = 56 = 2(28) \quad \checkmark$
- For $p = 5$:
- For $p = 7$:
Let $n$ be an even positive integer.
- Prove Euclid's half: If $n = 2^{p-1}(2^p - 1)$ where $2^p - 1$ is prime, then $\sigma(n) = 2n$, so $n$ is perfect.
- Prove Euler's converse half: If $n$ is any even perfect number, it must have the form $n = 2^{p-1}(2^p - 1)$ where $2^p - 1$ is a Mersenne prime.
1. Euclid's Direction: $n = 2^{p-1}(2^p - 1)$ is Perfect
Suppose $n = 2^{p-1}(2^p - 1)$ where $q = 2^p - 1$ is a prime. Notice that $q = 2^p - 1$ is odd, while $2^{p-1}$ is a power of $2$, so:
Because $\sigma$ is a multiplicative function (Theorem 5.2):
Compute each factor:
- Since $2^{p-1}$ is a prime power:
- Since $q$ is prime, its only divisors are $1$ and $q$:
Multiplying the two factors:
Thus, $\sigma(n) = 2n$, proving that $n$ is a perfect number! $\blacksquare$
2. Euler's Converse Direction: All Even Perfect Numbers Have This Form
Let $n$ be an even perfect number. Since $n$ is even, we can factor out the highest power of $2$:
where $k \ge 2$ and $m$ is an odd integer. Since $\gcd(2^{k-1}, m) = 1$ and $\sigma$ is multiplicative:
Because $n$ is perfect, $\sigma(n) = 2n$:
From this equality:
Since $\sigma(m)$ is an integer, the fraction $\frac{m}{2^k - 1}$ must be an integer. Let:
Then:
Notice that $c = \frac{m}{2^k - 1}$ is a divisor of $m$. Also, $m$ is always a divisor of $m$. Since $k \ge 2$, $2^k - 1 \ge 3 > 1$, so $c < m$. Therefore, $m$ and $c$ are two distinct positive divisors of $m$. Consequently, the sum of all divisors of $m$ must satisfy:
However, we derived above that $\sigma(m) = m + c$ exactly! This equality means that $m$ and $c$ are the only positive divisors of $m$! Since $1$ is always a divisor of any positive integer, we must have:
Thus:
An integer whose only divisors are $1$ and itself is, by definition, a prime number! Therefore, $m$ is prime, and:
By Lemma 5.1, since $m = 2^k - 1$ is prime, the exponent $k$ must be a prime, say $k = p$. Substituting $m = 2^p - 1$ back into $n = 2^{k-1} m$:
where $2^p - 1$ is a Mersenne prime. This establishes Euler's theorem completely. $\blacksquare$