login
A065573
Numbers k such that the first k quinary digits found in the decimal expansion of Pi form a prime.
0
1, 4, 69, 3195
OFFSET
1,2
MATHEMATICA
p = First[ RealDigits[ Pi, 10, 10^5]]; p = p[[ Select[ Range[10^5], p[[ # ]] == 0 || p[[ # ]] == 1 || p[[ # ]] == 2 || p[[ # ]] == 3 || p[[ # ]] == 4 & ]]]; Do[ If[ PrimeQ[ FromDigits[ Take[p, n], 5]], Print[n]], {n, 1, 5000} ]
CROSSREFS
Sequence in context: A134794 A248027 A093852 * A308294 A278553 A101841
KEYWORD
nonn,base
AUTHOR
Robert G. Wilson v, Dec 01 2001
STATUS
approved