Example 1
Take \(f(n) = n^k\). This function is strictly multiplicative. This means that \(f(mn)=f(m)f(n)\) for all \(m\) and \(n\). This function is also a Dirichlet character.
Example 2
Take \(\lambda(n) = (-1)^{\Omega(n)}\) where \(\Omega(n)\) is the number of prime factors (counted with multiplicities. So \(\Omega(60 = 2^2 \cdot 3 \cdot 5) = 4\)). This function is also called Liouville function. It is strictly multiplicative because \(\Omega(n)\) is also strictly multiplicative. So
Multiplicative Functions
The previous examples were strictly multiplicative functions. It turns out that we are okay if a weaker condition. So we define
Example 1: The Number of Positive Divisors, \(d(n)\)
Take the divisor function \(d(n)\) which denotes the number of positive divisors of \(n\). If \(n\) is prime, then \(d(p) = 2\). This function is multiplicative so \(f(mn)=f(n)f(m)\) if \(n\) and \(m\) are coprime. For example if \(n = 12\), then \(n\) has 6 positive divisors 1, 2, 3, 4, 6, 12. Notice that \(12 = 3 \cdot 4\). So
In general give the prime factorization \(n = p_1^{n_1}p_2^{n_2}...p_k^{n_k}\), then
For example, If \(n = 12\), then the prime factorization of \(12\) is \(12 = 2^2 \cdot 3\). Then
This function is also called \(\sigma_0(n)\).
Example 2: The Sum of Positive Divisors, \(\sigma(n)\)
Another multiplication function that is not strictly multiplicative is \(\sigma(n)\) which is the sum of the divisors of a given integer \(n\). Suppose \(n = 12\). We know the positive divisors are of 12 are \(1, 2, 3, 4, 6, 12\). Then
There is another way to calculate this. We know the prime factorization of 12 is \(12 = 2^2 \cdot 3\). In fact, each factor of 12 can be written as follows
a | b | 2a · 3b |
---|---|---|
0 | 0 | 1 |
1 | 0 | 2 |
2 | 0 | 4 |
0 | 1 | 3 |
1 | 1 | 6 |
2 | 1 | 12 |
So if we want to sum all the divisors, we want to sum all the combinations of powers in 12’s prime factorization. In fact, suppose the prime factorization of \(n\) is \(n = p_1^{n_1}p_2^{n_2}...p_k^{n_k}\). Then
We can split this sum since each particular sum is over an independent variable from the others so
We can then expand each sum and write
But notice here that each sum is a geometric sum, so we can simplify this further and write
Furthermore, if \(n = pq\) where \(p\) and \(q\) are primes then
So for 35, we know that \(35 = 5 \cdot 7\) and we know that 5 and 7 are both prime. Then
To verify this,
Example 3: Euler's Totient Function, \(\phi(n)\)
Euler’s function counts the number of positive integers \(\leq n\) that are specifically coprime to \(n\). Let’s list the numbers coprime to \(n = 1,2,3,4,5,6\) as follows
Notice, that if \(n\) is prime, then \(\phi(p) = p-1\). We will show later that \(\phi(mn) = \phi(m)\phi(n)\) if \((m,n)=1\).
Example 4: Ramanujan's Function
So far it was easy to see in the previous examples that the function is multiplicative. However, take the function
In the above, \(\tau(2)\) is the coefficient of \((1-q^2)^24\) and \(\tau(3)\) is the coefficient of \((1-q^3)^{24}\). So \(\tau(2) = -24\) and \(\tau(3) = 252\). Observe now that
This \(\tau\) function is the Ramanujan tau function and Ramanujan observed that the tau function is multiplicative so \(\tau(mn) = \tau(m)\tau(n)\) whenever \(m\) and \(n\) are coprime. This was proved by Mordell. So now what happens if the exponent is greater than 24? the answer is almost always that the function is not multiplicative.
Example 5: The Möbius Function
The Möbius function \(\mu(n)\) is the defined on the positive integers as follows
The first observation is that this function is multiplicative if \(m\) and \(n\) are coprime. But now, why even define a function like this? Consider the Reiman Zeta function
Now consider
So the Möbius function turns up in the coefficients of the inverse of the Reiman Zeta function and since the Reiman Zeta function is the most important and mysterious function in number theory, then we do care about the Möbius function.
Applications of Multiplicative Functions: Perfect Numbers
Define a perfect number as follows
For example \(6 = 1 + 2 + 3\) and \(28 = 1 + 2 + 4 + 7 + 14\) are perfect numbers. Recall that the \(\sigma(n)\) is the sum of all divisors of \(n\) including \(n\) itself while a perfect number doesn’t include \(n\) itself. So what we are looking for is any \(n\) such that \(\sigma(n) = 2n\). Recall that we can compute \(\sigma(n)\) as follows
However, Euclid identified numbers that are in fact perfect numbers. If you let \(p\) be a prime, then the number
is a perfect number. To show that \(2^{p-1}(2^p - 1)\) is indeed a perfect number, we want to show that
To do this, we calculate \(\sigma(2^{p-1}(2^p - 1))\). Recall that \(2^p - 1\) is prime when \(p\) is prime so
So \(n\) is is a perfect number. When \(p = 2\), this gives us 6 and when \(p = 3\), this gives us the perfect number 28.
Even Perfect Number
Euler argued that any even perfect number should have the form
where \(p\) and \(q\) are odd primes. The divisors of \(n\) are
So now, let’s take the divisors of the form \(p^{b-1}\) or \(p^b\) from \(\{1, p, p^2, \cdots, p^b\}\) and let’s only take \(q^c\) from \(\{1, q, q^2, \cdots q^c\}\).
The sum of these special divisors will be
So now the observation is that this is a perfect number so the sum of all the divisors must be \(2n\) and since we’re adding a subset of the divisors and we already see a \(2n\) term, then this extra term \(\left(1 - \frac{1}{2^{a+1}} \right) \cdot \left(1 + \frac{1}{p} \right)\) must at most be 1. On the other hand, we notice that the product \((1 + 2 + 4 + ... + 2^a) = 2^{a+1} - 1\) is odd and must be divisible by one of the prime factors of \(n\) [WHY?? TODO]. So suppose that \(p\) is the smallest prime factor of \(n\), then \(p \leq 2^{a+1} - 1\). But this makes the product \((1 + \frac{1}{p})\) be greater than or equal to 1. But this is impossible since we said it must be at most 1. Therefore, it has to be exactly 1.
But if it’s exactly 1, then this means that \(2n = (1 + 2 + 4 + ... + 2^a) \cdot (p^{b-1} + p^b) \cdot q^c\). But this implies that we can’t have any other divisors. So \(c\) must be zero and \(b\) must be 1. This means that \(p = 2^{a+1} - 1\). Therefore, we end up with the same form from before
In other words, it’s a Mersenne prime. So now based on this, are there infinite even perfect numbers? well since they are Mersenne primes, then it’s a question of whether we have infinite number of Mersenne primes. We don’t know the answer to this question. At the moment, the largest one found is \(2^{2136,279,841} - 1\).
Odd Perfect Number
Another question we can ask is are there any odd perfect numbers? nobody knows. But, we can have more restrictive conditions on odd perfect numbers. So let \(n = p_1^{n_1}...p_1^{n_k}\) be an odd perfect number. Then
We know that \(\sigma(n) = 2n\). So if \(n\) is odd, then \(2n\) is also odd. But this means that exactly one terms above must be even. The term \((1 + p + p^2 + \cdots + p^{n_1})\) is odd if and only if \(n_1\) is even. So exactly one \(n_i\) (of the \(k\) powers) must be odd. So \(n\) can be written as a square times a prime number. We can push this further but then we can never arrive at contradiction and we never know if they really exist. This is a very old open problem.
Landau's Problem
One more problem that is easy to state but we don’t know how to answer. First, the Goldbach Conjecture which states that every even integer greater than 4 can be written as the sum of two prime numbers. \(2n = p_1 + p_2\).
The next is the Twin Prime Conjecture which states that there are infinitely many primes with difference two? so \(p_1 - p_2 = 2\).
The third one is given an \(n\), can we find a prime such that \(n^2 < p < (n+1)^2\).
Can we find infinitely many primes of the form \(p = n^2 + 1\)?