Multiplicative Functions
An arithmetical function, or number-theoretic function is a complex-valued function defined for all positive integers. It can be viewed as a sequence of complex numbers.
Examples: include (the last example is the number of primes less than or equal to ).
An arithmetical function is multiplicative if whenever , and totally multiplicative (or completely multiplicative) if this holds for any . Note this implies unless is the zero function. Also, a multiplicative function is completely determined by its behaviour on the prime powers.
Examples: We have seen that the Euler totient function is mulitplicative but not totally multiplicative (this is one reason it is convenient to have ). The function is totally multiplicative. The product of (totally) multiplicative functions is (totally) multiplicative.
Theorem: Let be a multiplicative function, and define
Then is also a multiplicative function.
Proof: Let be positive integers with . Then
since and implies .
Above we have written in terms of . One question that naturally arises is this: can we do the reverse? That is, write in terms of ? This is known as Möbius inversion.
Since is multiplicative, we have that
Theorem:
This theorem can also be proved using basic facts about cyclic groups.
Examples: The divisors of are . Their totients are which sum to .
The function is (totally) multiplicative. Let be the number of divisors of . Then since we see that is multiplicative.
The function is (totally) multiplicative. Let be the sum of divisors of . Then since we see that is multiplicative. In general, we can apply this trick to any power of .
Perfect Numbers
A positive integer is a perfect number if . The first perfect numbers are .
It is not known if any odd perfect numbers exist.
Let be an even perfect number, so for some and odd . Since is multiplicative,
hence , so write for some and hence .
Thus two of the divisors of are and . But these already sum to , hence can have no other divisors, implying that and is prime. The converse is clear, thus is an even perfect number if and only if
with prime.
This implies is prime as implies . The converse is unsurprisingly false. A number of the form is called a Mersenne number, and if it is prime, then it is called a Mersenne prime.
Mersenne conjectured that for the only primes which yielded primes were . He made five mistakes: should not be on the list, and he missed .
Fermat Numbers
What about numbers of the form ?
It is not hard to see that if is prime then must be a power of 2. Numbers of the form are called Fermat numbers, and are called Fermat primes if prime. Fermat conjectured that all Fermat numbers are prime, and he was right for (which give the primes ), but wrong for (which is divisible by 641) and other values of . In fact no other Fermat primes are known.
It can be shown that a regular -gon that can be constructed using a ruler and compass if and only if
where each is a distinct Fermat prime and is some nonnegative integer. In 1796, Gauss proved the sufficiency of this condition (though not the necessity) when he was only 19.