Ever since Euclid first proved that there are infinitely many prime numbers, mathematicians have found ever more creative ways to prove the same result, and also various stronger theorems that imply it. Dirichlet’s Theorem, for example, states that if and are relatively prime integers, then there are infinitely many prime numbers of the form for some integer . It is also known that the sum of the reciprocals of the prime numbers diverges, that the sum
and that the number of prime numbers less than is asymptotically equal to . In this blog post, we will continue this proud tradition by proving that there are infinitely many prime numbers which have your phone number somewhere in their digits, and which simultaneously have a prime number of digits.
To do so, we will look at the convergence of two different sums: that of the reciprocals of the primes with a prime number of digits, and that of the reciprocals of the natural numbers which do not contain your phone number amongst their digits. As we shall show, the former diverges, while the latter converges.
Amongst the first examples of divergent series which students are introduced to is the harmonic series
This can be shown to diverge by grouping the terms into groups of powers of : We have that for lying between and , the reciprocal of is at least . Thus it follows that
From this it follows that
and so the sum
diverges.
We will use a similar argument to show that a slightly modified sequence of reciprocals converges. We will again group numbers based on their relative sizes, but will show that there are few enough numbers of each size that the series will converge.
We prove the following proposition:
Proposition 1
Let be any string of (decimal) digits, and consider the set of natural numbers which do not contain in their decimal expansion. Then the sum of the reciprocals of the elements of converges.
To prove this, we consider for each whole number the sum of the reciprocal of those elements of which have a number of digits from to , where is the number of digits in the string . The digits of such a natural number can be broken up into blocks of consecutive digits. There are possible strings of digits, and each of the blocks of digits could potentially be any one of these strings, except for . Thus there are at most options for each block of digits, and so at most elements of which have from to digits.
A natural number with at least digits is greater than or equal to , and so its reciprocal is at most . Thus if we consider the sum of the reciprocals of the elements of which have from to digits, we see that it is bounded above by
The sum of the reciprocals of all of the elements of is then bounded above by the geometric series
which converges to .
It is perhaps surprising that we can make the harmonic series converge merely by removing the reciprocals of those numbers which do not contain some string of digits . At least as surprising is that if we were instead to remove the reciprocals of all of the numbers which are not prime, then the resulting series would diverge. As stated at the start of the post, it is even true that the sum of the reciprocals of the prime numbers with a prime number of digits diverges. We will in fact prove an even stronger result. To do so, we will make use of the Prime Number Theorem which was proven independently by Hadamard and by de la Vallée-Poussin in 1896.
Prime Number Theorem
Let be the number of prime numbers which are less than . Then
That is to say
This allows us to prove the following proposition:
Proposition 2
Let be the set of natural numbers, and for each , let be the set of prime numbers which have a number of digits which is an element of . Then for each , the sum of the reciprocals of the elements of diverges.
The proof is by induction on the number .
The proposition holds for , since the sum of the reciprocals of the elements of is just the harmonic series, which we earlier showed to diverge. Now suppose that for some number , the sum of the reciprocals of the elements of diverges. We will show that the same is true for .
By the Prime Number Theorem, there is some natural number such that for all , we have that
Consider those prime numbers with digits. The number of such prime numbers is . Provided that , we see that this is equal to at least
Such a prime number is at most , and so its reciprocal is at least . It follows that the sum of the reciprocals of all such prime numbers is equal to at least
For , we have that , and so this is bounded below by
Thus provided that , and , we have that the sum of the reciprocals of the primes with digits is at least , where is the constant
The elements of have a number of digits which is in , and so it follows that the sum of the reciprocals of the elements of is bounded below by
which diverges by the inductive hypothesis. Thus the sum of the reciprocals of the elements of diverges, and the result is proven.
It now follows easily that there are infinitely many prime numbers which contain your phone number amongst their digits, and which simultaneously have a prime number of digits.
Suppose that this were not the case. Let be the set of prime numbers with a prime number of digits which do not contain your phone number amongst their digits. By taking the string to be the digits of your phone number in the first proposition, we see that the sum of the reciprocals of the elements of converges. But contains all but finitely many of the elements of the set from the second proposition, and so the sum of the reciprocals of the elements of diverges, a contradiction.
Of course, there is nothing special about decimal notation. It should be clear that the results above hold for any base.
In the special case in which the string of digits is taken to be the string , the sequence described in the first proposition above is known as the Kempner Series. The second proposition was brought to my attention by this thread on reddit.
We miss you, Dylan.Cool post
[…] On Convergent Sequences and Prime Numbers […]