Can the sequence of successive digits of $\pi^{18}$ ever give a prime

decimal-expansionelementary-number-theorynumber theorypiprime numbers

In this question

First $k$ digits of $\pi^n$ and compositeness

it is asked for some $\ n\ $ giving late or possible never a prime number. A good condidate is $\ n=18\ $. According to my calculations with PARI/GP, we do not get a prime after more than $\ 11\ 000$ digits. Note that the digits before the comma are used as well and we also do not arrive at a prime before reaching the comma.

Is $\ \lfloor \pi^{18}\cdot 10^k \rfloor\ $ ever prime ?

Heuristically, we can expect that a prime will eventually occur , if we assume that the digits of $\ \pi^{18}\ $ behave like a pseudo-random-generator. Motivation for the $\ 18\ $ is that it is the first tough case (see the table in the answer).

Best Answer

$ \large \left \lfloor \pi ^{18} \cdot 10^{16718} \right \rfloor $ is a probable prime.

Pari/GP code:

\p 16800
ispseudoprime(floor(Pi^18*10^16718))
time = 1min, 22,156 ms.
%# = 1
Related Question