login
A186207
The first n-digit prime in the decimal expansion of 1/Pi.
0
3, 31, 379, 8861, 86183, 886183, 8861837, 98861837, 929148091, 3098861837, 83098861837, 183098861837, 8618379067153, 28724068919291, 830988618379067, 7906715377675267, 12897495334688117, 675267450287240689, 7675267450287240689, 83098861837906715377
OFFSET
1,1
COMMENTS
1/Pi = 0.31830988618379067153....
MAPLE
Digits := 10000: p0 := evalf(1/Pi)*10:for d from 1 to 20 do: id:=0:for i from
0 to 50000 while(id=0) do :q0:=trunc(p0*10^(i+d-1)): x:= irem(q0, 10^d): if type(x, prime)=true and length(x)=d then printf(`%d, `, x):id:=1: else fi:od:od:
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Feb 15 2011
STATUS
approved