login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A256109 Index of the n-th zero in the first occurrence of a string of exactly n zeros in the decimal expansion of Pi. 1

%I #33 Mar 30 2020 08:37:38

%S 33,309,604,13394,17539,1699933,3794579,172330858,2542542111,

%T 8324296445,371247087583,1755524129985,3186699229903,6381820482345

%N Index of the n-th zero in the first occurrence of a string of exactly n zeros in the decimal expansion of Pi.

%C a(n) is the least k such that A000796(k-n+1) = ... = A000796(k) = 0 and A000796(k+1) != 0. - _Danny Rorabaugh_, Mar 31 2015

%H Dave Andersen, <a href="http://www.angio.net/pi/">The Pi-Search Page</a>.

%F a(n) = A050279(n) + n. - _Danny Rorabaugh_, Mar 31 2015

%o (PARI) { default(realprecision, 20080); for (m = 1, 10, x = Pi; r = 0; for (n = 1, 20000, d = floor(x); x = (x-d)*10; if(d <> 0, if (r <> m, r = 0, print1(n-1, ", "); r = 0; break), r = r + 1)))}

%Y Cf. A000796, A050279, A014976, A256160.

%K nonn,base,more

%O 1,1

%A _Kival Ngaokrajang_, Mar 14 2015

%E a(6)-a(10) by _Danny Rorabaugh_, Mar 31 2015

%E a(11)-a(14) added using A050279 by _Jinyuan Wang_, Mar 30 2020

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 22 17:15 EDT 2024. Contains 375369 sequences. (Running on oeis4.)