login
A037008
Positions of the digit '0' in the decimal expansion of Pi, where positions 0, 1, 2, ... correspond to digits 3, 1, 4, ....
28
32, 50, 54, 65, 71, 77, 85, 97, 106, 116, 121, 128, 132, 146, 159, 164, 167, 176, 195, 207, 245, 248, 264, 270, 287, 291, 307, 308, 311, 327, 330, 340, 357, 360, 361, 366, 369, 375, 398, 403, 408, 421, 443, 451, 493, 513, 520, 523, 543, 545, 552, 557, 561
OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..369 from M. F. Hasler)
Eric Weisstein's World of Mathematics, Pi Digits.
FORMULA
a(n) = A014976(n) - 1. - M. F. Hasler, Jul 29 2024
EXAMPLE
Pi = 3.14159 26535 89793 23846 26433 83279 5*0*288 4... (Position 32 refers to the 32nd digit after the decimal point.)
MATHEMATICA
Flatten @ Position[ RealDigits[Pi - 3, 10, 500][[1]], 0] (* Robert G. Wilson v, Mar 07 2011 *)
PROG
(PARI) for(c=1, default(realprecision, 2011)-2, Pi\.1^c%10 || print1(c", ")) \\ M. F. Hasler, Oct 23 2011
(PARI) A037008_upto(N=999)={localprec(N+20); [i-1|i<-[1..#N=digits(Pi\10^-N)], !N[i]]} \\ M. F. Hasler, Jul 29 2024
CROSSREFS
Cf. A000796 (decimal expansion (or digits) of Pi).
For another version see A014976(n) = a(n) + 1.
For digits 0 through 9 see: this sequence, A037000, A037001, A037002, A037003, A037004, A037005, A036974, A037006, A037007.
Sequence in context: A140172 A259765 A256521 * A316943 A099048 A176542
KEYWORD
base,nonn
AUTHOR
Nicolau C. Saldanha (nicolau(AT)mat.puc-rio.br)
EXTENSIONS
Name edited by M. F. Hasler, Jul 29 2024
STATUS
approved