Proposition24.6.1
The chances that a random integer lattice point is visible from the origin is \(\frac{6}{\pi^2}\).
We are now ready to work with four applied facts which we can prove, using these tools. Some have other types of proofs, but number theory combined with calculus really provides a unified framework for a huge number of problems.
In Subsection 24.6.1, we will show that the probability that a random integer lattice point is ‘visible’ from the origin is \(\frac{6}{\pi^2}\); this is Proposition 24.6.1.
In Subsection 24.6.2, we see that the Dirichlet series for \(f(n)=|\mu(n)|\) is \(\zeta(s)/\zeta(2s)\); this is Proposition 24.6.2.
In Subsection 24.6.4, we compute the average value of \(\phi(n)\) to be \(\frac{3n}{\pi^2}\); this is Proposition 24.6.4.
In Subsection 24.6.3, we see that the prime harmonic series sum \(\qquad \sum_{n=1}^{\infty}\frac{1}{p_n}\) diverges, with \(p_n\) the \(n\)th prime; this is Proposition 24.6.3.
The following graphic will indicate what it means to have a point visible from the origin; is there a point directly between it and the origin or not? To rephrase, what is the probability that a point in the integer lattice has a line connecting the point to the origin that does not hit any other point? (We will explicitly avoid any discussion of why such infinitary probabilities are defined in this introductory text.)
Note that the probabilities estimated will vary wildly. Especially at a prime distance one should expect the computed probability to be higher than the theoretical one; why?
It should be pretty clear from the picture that if \(x\) and \(y\) have a nontrivial common divisor \(d\) then, \(\left(\frac{x}{d},\frac{y}{d}\right)\) is right on the line of sight from the origin to \((x,y)\) so that it is blocked off. This is most clearly so for \(d=\gcd(x,y)\), so the following fact is the same thing as asking for the probability that two randomly chosen integers are relatively prime.
The chances that a random integer lattice point is visible from the origin is \(\frac{6}{\pi^2}\).
This implies that a random pair of integers, selected from a large enough bound, will be relatively prime about 61% of the time.
The Dirichlet series for \(\left|\mu(n)\right|\) is \(\zeta(s)/\zeta(2s)\).
Let's try this out computationally.
The divergence of the series created from the reciprocals of prime numbers is not necessarily a particularly obvious fact. Certainly it diverges much, much slower than the harmonic series (recalled before Definition 20.3.2), which already diverges very slowly.
This proof doesn't actually use Dirichlet series, but has in common with them themes of convergence and estimation, so it is appropriate to include here.
Let \(p_n\) be the \(n\)th prime. Then the following series, which we call the prime harmonic series, diverges:\begin{equation*}\sum_{n=1}^{\infty}\frac{1}{p_n}\end{equation*}
Finally, here is a really nice result to end with. Thinking about the average value of \(\phi\) will put together many themes from this text.
You may recall Exercise 20.6.15 where you were asked to conjecture regarding this question. As there, it's useful here to try to graph the average values first; here I have incuded the correct long-term average as well.
Before formally proving this, let's look at a significant picture for conceptualizing the proof. This is similar to what we used for the average of \(\tau\) and \(\sigma\) in Chapter 24.
The text at each lattice point is the value of horizontal coordinate, multiplied by a factor of Moebius of the vertical coordinate.
We will crucially use these two facts in the proof, based loosely on [C.3.6]; see it or [C.1.8] for much more related material – the latter is unusual in starting its discussion of averages with this example!
From above (e.g. Fact 24.4.2), \begin{equation*}\sum_{n=1}^\infty\frac{\mu(n)}{n^2}=\frac{1}{\zeta(2)}=\frac{6}{\pi^2}\end{equation*}
From the previous chapter (e.g. Fact 23.3.2),\begin{equation*}\phi=\mu\star N\Rightarrow \phi(n)=\sum_{d\mid n}\mu(d)\frac{n}{d}\end{equation*}
The long-term average value of \(\phi\) is given by \begin{equation*}\lim_{n\to\infty}\frac{\frac{1}{n}\sum_{k=1}^n \phi(k)}{\frac{3}{\pi^2}n}=1\end{equation*}