Skip to main content

Section 2.1 Examples of arithmetic functions

Definition 2.1.1.

An arithmetic function is a function with domain N={1,2,} and codomain the complex numbers C.
Here are a number of arithmetic functions:
  1. ϕ Euler totient: ϕ(n) is the number of k such that 1kn and (n,k)=1
  2. d(n): number of positive divisors of n. d(n)=kn1. (This function is also often denoted τ.)
  3. σ sum of positive divisors of n. σ(n)=knk.
  4. 1(n)=1 for all n. (In Crisman’s book this function was denoted u.)
  5. N(n)=n for all n
  6. e(n)={1if n=10otherwise . (In Crisman’s book this function was denoted I.)
  7. σs(n)=knks. So d=σ0, σ=σ1.
  8. Möbius function:
    (2.1.1)μ(n)={1if n=1(1)kif n=p1pk, where p1,,pk are distinct primes0if p2n for some p
  9. Liouville function:
    (2.1.2)λ(n)=(1)a1++ak where n=p1a1pkak
    (In particular λ(1)=1 as all ai=0.)
  10. Von Mangoldt function:
    (2.1.3)Λ(n)={logpif n=pk for some prime p0if n is not a power of a prime
  11. ω(n): number of distinct prime divisors of n
  12. Ω(n): number of prime divisors of n counted with multiplicity, i.e., Ω(n)=ai where n=p1a1pkak.
Observe λ(n)=(1)Ω(n).
Think of the Von Mangoldt function as a modification of the prime indicator function. The prime indicator function is the function that equals 1 on primes, and 0 on non-primes. The Von Mangoldt function changes the value to logp instead of 1, and detects powers of primes along with the primes themselves.

Proof.

There are pk/p=pk1 multiples of p less than or equal to pk; all other integers in the interval [1,pk] are coprime to pk.

Proof.

Let dn.
ϕ(d)=#{k:1kd,(k,d)=1}=#{k:ndkndn,(knd,n)=nd}=#{m:ndmn,(m,n)=nd}=#{m:1mn,(m,n)=nd}.
dnϕ(d)=dn#{m:1mn,(m,n)=nd}=#dn{m:1mn,(m,n)=nd}=#{m:1mn}=n.
We used that the union is disjoint. Next, every value 1mn has some gcd with n, and the gcd must be a divisor of n. As d runs through the divisors of n, so does n/d. This shows that the union is equal to the set of 1mn.

Remark 2.1.4.

Note that the sets {k:1kd,(k,d)=1} are not at all disjoint; for example they all contain 1.

Proof.

The first two are left as exercises. The numbers coprime to pk are the non-multiples of p. There are pk/p=pk1 multiples of p in the interval [1,pk].
The Chinese Remainder Theorem gives an isomorphism of rings ZmnZm×Zn. Among other things, this gives an isomorphism of the groups of units (invertible elements):
Zmn×(Zm×Zn)×Zm××Zn×.
(It is left as an exercise that for rings R,S in general, (R×S)×R××S×.) Now #(Zmn×)=ϕ(mn), and
#(Zm××Zn×)=(#Zm×)(#Zn×)=ϕ(m)ϕ(n).
Finally for n=piai we have
ϕ(n)=ϕ(piai)=piai(11pi)=n(11pi).