Finding Primes in Pi

This is not so few. If we take the probability that a number $n$ is prime to be $1/\log(n)$, we would expect $\sum \frac 1{n \log (10)}\approx \frac 1{2.3}(\log(n)+\gamma)$ of them out to $n$. If we do the sum from $2$ to $10^4$ it is $3.8$ while we have $3$ and if we do it out to $16208$ we should have $4$ and we do. The sum diverges, so we should have infinitely many, but it diverges very slowly.


See https://oeis.org/A005042

There you can find out that Martin Gardner first asked Neil Sloane this question.

The next term consists of the first 16208 digits.

A naive probabilistic argument suggests that the sequence is infinite.


Other answers are much better, but at the very least, $a_n$ ending in 0, 2, 4, 5, 6, or 8 cannot be prime. For the roughly uniformly distributed digits of $pi$, that is 60% nonprime. Have not checked, but probably divisibility rules for 3 and 11 will also kick in.

(Going further/serious means working with distribution of primes, and that is Ross Millikan's answer.)