A282183 Numbers k such that the reverse of the first k digits in the decimal expansion of Pi forms a prime.
1, 2, 5, 6, 7, 11, 15, 712, 7599, 13280, 13281, 21598, 23233
Offset: 1
Examples
1 is a term as the first digit of pi, 3, reversed is prime. 2 is a term as the first two digits of pi, 31, reversed is prime. 3 is not a term as the first three digits of pi, 314, reversed, is not prime. - _David A. Corneth_, Feb 13 2017
Links
- Shyam Sunder Gupta, Mystery of pi, Exploring the Beauty of Fascinating Numbers, Springer (2025) Ch. 19, 473-497.
Programs
-
Mathematica
Do[If[PrimeQ[FromDigits[Reverse[IntegerDigits[Floor[Pi*10^(n - 1)]]]]],Print[n]],{n, 13335}] Module[{pid=RealDigits[Pi,10,20000][[1]]},Select[Range[16000],PrimeQ[ FromDigits[ Reverse[Take[pid,#]]]]&]] (* Harvey P. Dale, Sep 06 2019 *)
Extensions
a(11)-a(13) from Michael S. Branicky, Feb 06 2025
Comments