cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A037008 Positions of the digit '0' in the decimal expansion of Pi, where positions 0, 1, 2, ... correspond to digits 3, 1, 4, ....

This page as a plain text file.
%I A037008 #56 Feb 16 2025 08:32:37
%S A037008 32,50,54,65,71,77,85,97,106,116,121,128,132,146,159,164,167,176,195,
%T A037008 207,245,248,264,270,287,291,307,308,311,327,330,340,357,360,361,366,
%U A037008 369,375,398,403,408,421,443,451,493,513,520,523,543,545,552,557,561
%N A037008 Positions of the digit '0' in the decimal expansion of Pi, where positions 0, 1, 2, ... correspond to digits 3, 1, 4, ....
%H A037008 Amiram Eldar, <a href="/A037008/b037008.txt">Table of n, a(n) for n = 1..10000</a> (terms 1..369 from M. F. Hasler)
%H A037008 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/PiDigits.html">Pi Digits.</a>
%F A037008 a(n) = A014976(n) - 1. - _M. F. Hasler_, Jul 29 2024
%e A037008 Pi = 3.14159 26535 89793 23846 26433 83279 5*0*288 4... (Position 32 refers to the 32nd digit after the decimal point.)
%t A037008 Flatten @ Position[ RealDigits[Pi - 3, 10, 500][[1]], 0] (* _Robert G. Wilson v_, Mar 07 2011 *)
%o A037008 (PARI) for(c=1,default(realprecision,2011)-2,Pi\.1^c%10 || print1(c",")) \\ _M. F. Hasler_, Oct 23 2011
%o A037008 (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
%Y A037008 Cf. A000796 (decimal expansion (or digits) of Pi).
%Y A037008 For another version see A014976(n) = a(n) + 1.
%Y A037008 For digits 0 through 9 see: this sequence, A037000, A037001, A037002, A037003, A037004, A037005, A036974, A037006, A037007.
%K A037008 base,nonn
%O A037008 1,1
%A A037008 Nicolau C. Saldanha (nicolau(AT)mat.puc-rio.br)
%E A037008 Name edited by _M. F. Hasler_, Jul 29 2024