Proofs involving the totient function
From Wikipedia, the free encyclopedia
This article or section is in need of attention from an expert on the subject. WikiProject Mathematics or the Mathematics Portal may be able to help recruit one. |
This article does not cite any references or sources. (December 2007) Please help improve this article by adding citations to reliable sources. Unverifiable material may be challenged and removed. |
This page provides proofs for identities involving the totient function and the Möbius function μ(k).
Contents |
[edit] Sum of integers relatively prime to and less than or equal to n
Claim:
Since and gcd(k,n) = gcd(n − k,n) for all integers k, a change of index yields
- .
Therefore
- .
[edit] Proofs of totient identities involving the floor function
The proof of the identity
is by mathematical induction on n. The base case is n = 1 and we see that the claim holds:
For the induction step we need to prove that
The key observation is that
so that the sum is
Now the fact that
is a basic totient identity. To see that it holds, let be the prime factorization of n+1. Then
by definition of μ(k). This concludes the proof.[citation needed]
An alternate proof proceeds by substituting directly into the left side of the identity, giving
Now we ask how often the term occurs in the double sum. The answer is that it occurs for every multiple k of d, but there are precisely such multiples, which means that the sum is
as claimed.[citation needed]
The trick where zero values of[citation needed] are filtered out may also be used to prove the identity
The base case is n = 1 and we have
and it holds. The induction step requires us to show that
Next observe that[citation needed]
This gives the following for the sum
Treating the two inner terms separately, we get
The first of these two is precisely as we saw earlier, and the second is zero, by a basic property of the Möbius function (using the same factorization of n + 1 as above, we have .) This concludes the proof.
This result may also be proved by inclusion-exclusion. Rewrite the identity as
Now we see that the left side counts the number of lattice points (a, b) in [1,n] × [1,n] where a and b are relatively prime to each other. Using the sets Ap where p is a prime less than or equal to n to denote the set of points where both coordinates are divisible by p we have
This formula counts the number of pairs where a and b are not relatively prime to each other. The cardinalities are as follows:
and the signs are , hence the number of points with relatively prime coordinates is
but this is precisely and we have the claim.
[edit] Average order of the totient
We will use the last formula of the preceding section to prove the following result:
Using we have the upper bound
and the lower bound
which is
Working with the last two terms and using the asymptotic expansion of the nth harmonic number we have
and
Now we check the order of the terms in the upper and lower bound. The term is by comparison with ζ(2), where ζ(s) is the Riemann zeta function. The next largest term is the logarithmic term from the lower bound.
So far we have shown that
It remains to evaluate asymptotically, which we have seen converges. The Euler product for the Riemann zeta function is
Now it follows immediately from the definition of the Möbius function that
This means that
where the integral was used to estimate But and we have established the claim.
[edit] Average order of φ(n)/n
The material of the preceding section, together with the identity
also yields a proof that
Reasoning as before, we have the upper bound
and the lower bound
Now apply the estimates from the preceding section to obtain the result.
[edit] Inequalities
We first show that
The latter holds because when n is a power of a prime p, we have
which gets arbitrarily close to 1 for p large enough (and we can take p as large as we please since there are infinitely many primes).
To see the former, let nk be the product of the first k primes, call them p1,p2,...,pk. Let
Then
a harmonic number. Hence, by the well-known bound Hn > logn, we have
Since the logarithm is unbounded, taking k arbitrarily large ensures that rk achieves values arbitrarily close to zero.
We use the same factorization of n as in the first section to prove that
- .
Note that
which is
The upper bound follows immediately since
We come arbitrarily close to this bound when n is prime. For the lower bound, note that
where the product is over all primes. We have already seen this product, as in
so that
and we have the claim. The values of n that come closest to this bound are products of the first k primes.
[edit] External links
- Chris K. Caldwell, What is the probability that gcd(n,m)=1?
- Bordellès, Olivier, Numbers prime to q in [1,n]