# Do infinitely many primes exist whose decimal string has no consecutive repeated digits?

I asked my last question on the topic of representing numbers by decimals which was intimately linked to another matter: namely, the relationship between the size of a decimal expansion of a fraction and it's numerator/denominator. This in itself led to some other inquiries and then the following question popped up:

Is it true that there exist an infinite number of primes whose decimal string has no consecutive repeated digits?

This seems to be an even more difficult question and I am curious if one can hope of giving this an answer.

• This is not a site about numerology, but about real mathematical problems of al sorts. Nov 10, 2017 at 18:47
• Looking just at the sequence $s = 127, 12127, 1212127\dots$, where $s_i = 120(100^i - 1)/99 + 7$, if the conjecture is true, then for $s$ and all other similar sequences, then all $s_i$ are composite after a certain $i$. Nov 10, 2017 at 21:58
• Do I understand it right that you want to know whether there are infinite many primes such that none of the digit-pairs $00,11,22,\cdots,99$ appears in the decimal expansion ? This is almost certain the case, but also almost certain is a proof out of reach. Nov 11, 2017 at 0:11
• I rolled back my edit to your Question, which was made with the understanding that you were asking about repeated digits in the decimal fraction corresponding to prime reciprocals. Since you present no example, it is at least as likely that you mean the digits of the prime itself not repreating (which Ross addressses in his Answer). You don't seem to have responded to any of the Comments or the Answer, so it's not clear what you intended to ask about. Nov 30, 2017 at 20:38

We can give a heuristic answer. Consider all the $n$ digit numbers. There are $9\cdot 10^{n-1}$ of them, of which $9^n$ have no repeated digits. The density of primes around $N$ is $\frac 1{\log N}$. We will take the maximum $N$ among our numbers, giving the minimum chance for a prime, which is $10^{n}$. We therefore expect more than $\frac {9^n}{\log \left(10^{n}\right)}$ primes in the decade with no repeated digits. This is huge compared with $1$, so summing over $n$ will give an infinite number of expected primes with no repeated digits.