Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

5.2: A Necessary Digression - Gauss’s Theorem on Sums of Euler’s Function

( \newcommand{\kernel}{\mathrm{null}\,}\)













Later in this chapter we will need a fact first proved by Gauss about Euler’s ϕ function:

Theorem 5.2.1

For all nN, dNs.t. dnϕ(d)=n .

We’ll give two proofs, which illustrate different features of this situation:

Proof 1

Fix nN.

Let’s define some subsets of {1,,n}, dependent upon a choice of a positive divisor dn, as follows Sd={kN1kn and gcd(k,n)=d} . These sets are disjoint since for each kN such that 1kn, d=gcd(k,n) has a specific value and k is only in that Sd.

For kSd, gcd(k,n)=d or, by Theorem 1.5.1, gcd(k/d,n/d)=1. Thus #(Sd) is the number of elements N in the range 1n/d which are relatively prime to n/d, i.e., #(Sd)=ϕ(n/d).

Every kZ in the range 1kn is in exactly one of these Sd, for d a positive divisor of n. Therefore {1,,n}=dNs.t. dnSd so n=#({1,,n})=#(dNs.t. dnSd)=dNs.t. dn#(Sd)=dNs.t. dnϕ(n/d) . But as d runs over the positive divisors of n, so does n/d; in other words {ddN, 1dn\ and\ dn}={n/ddN, 1dn\ and\ dn}

We can therefore rewrite the last big equation as n=dNs.t. dnϕ(n/d)=dNs.t. dnϕ(d) which is what we were trying to prove.

Proof 2

This approach will concentrate on the function F(n)=dNs.t. dnϕ(d) , which has some very nice properties.

For example, suppose p is a prime and kN. Then the divisors of pk are 1,p,p2,,pk, so F(pk)=ϕ(1)+ϕ(p)+ϕ(p2)++ϕ(pk)=1+(p1)+(p2p)++(pkpk1)=pk .

Furthermore, if p and q are distinct primes, then the divisors of pq are 1, p, q, and pq. Also, gcd(p,q)=1, so by Theorem 2.5.2 F(pq)=ϕ(1)+ϕ(p)+ϕ(q)+ϕ(pq)=ϕ(1)+ϕ(p)+ϕ(q)+ϕ(p)ϕ(q)=(1+ϕ(p))(1+ϕ(q))=F(p)F(q) , From this fact, one can prove (it’s an exercise below) that F(ab)=F(a)F(b) whenever a,bN are relatively prime. This means that F has the same sort of multiplicative property for relatively prime factors as does ϕ.

We are ready to finish the proof. So let nN be any number such that n>1 (for n=1, the theorem is trivial). Suppose the prime decomposition of n is given by n=pk11pkrr , where the primes {p1,,pr} are distinct. Therefore gcd(pkii,pkjj)=1 if ij and so we can use the multiplicative property of F and our calculation of F for prime powers to conclude F(n)=F(pk11pkrr)=F(pk11)F(pkrr)=pk11pkrr=n , which is what we wanted to prove.

Exercise 5.2.1

  1. Finish the second proof of Gauss’s Theorem 5.2.1 by proving that F(ab)=F(a)F(b) for all a,bN which are relatively prime.

This page titled 5.2: A Necessary Digression - Gauss’s Theorem on Sums of Euler’s Function is shared under a CC BY-SA license and was authored, remixed, and/or curated by Jonathan A. Poritz.

  • Was this article helpful?

Support Center

How can we help?