OFFSET
1,1
COMMENTS
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
LINKS
Dave Andersen, The Pi-Search Page.
FORMULA
a(n) = A050279(n) + n. - Danny Rorabaugh, Mar 31 2015
PROG
(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)))}
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Kival Ngaokrajang, Mar 14 2015
EXTENSIONS
a(6)-a(10) by Danny Rorabaugh, Mar 31 2015
a(11)-a(14) added using A050279 by Jinyuan Wang, Mar 30 2020
STATUS
approved