login
A276195
Smallest prime >= decimal expansion of Pi truncated to n places (A011545).
1
3, 31, 317, 3163, 31469, 314159, 3141601, 31415971, 314159311, 3141592661, 31415926541, 314159265359, 3141592653601, 31415926535933, 314159265359057, 3141592653589861, 31415926535897999, 314159265358979347, 3141592653589793239, 31415926535897932429, 314159265358979323861
OFFSET
0,1
LINKS
Eric Weisstein's World of Mathematics, Next Prime
Eric Weisstein's World of Mathematics, Pi and Pi Digits
Eric Weisstein's World of Mathematics, Pi-Prime
FORMULA
a(n) = A007918(A011545(n)).
a(n) = A000040(A000720(A011545(n)-1)+1).
a(A060421(n)-1) = A005042(n).
EXAMPLE
a(6) = 3141601, since this is the smallest prime >= floor(Pi*10^6) = 3141592.
Pi = 3.1415926535897932384626433832795028841971…
MATHEMATICA
Table[NextPrime[Floor[Pi 10^n] - 1], {n, 0, 20}]
Module[{nn=30, pid}, pid=RealDigits[Pi, 10, nn][[1]]; Table[NextPrime[FromDigits[Take[pid, n]]-1], {n, nn}]] (* Harvey P. Dale, Mar 01 2024 *)
KEYWORD
nonn,base
AUTHOR
Ilya Gutkovskiy, Aug 24 2016
STATUS
approved