login
A256160
Index of the n-th 9 in the first occurrence of a string of exactly n 9's in the decimal expansion of Pi.
1
6, 46, 2952, 17992, 19451, 768, 1722783, 36356650, 564665215, 20148132320, 27014073315, 897831316568, 10542036048463, 5758910552723
OFFSET
1,1
COMMENTS
A048940 is 5, 44, 762, 762, 762, 762, 1722776, 36356642, 564665206, ... - Alonso del Arte, Mar 25 2015
FORMULA
a(n) = A096763(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 <> 9, if (r <> m, r = 0, print1(n-1, ", "); r = 0; break), r = r + 1)))}
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Kival Ngaokrajang, Mar 16 2015
EXTENSIONS
a(10)-a(14) added using A096763 by Jinyuan Wang, Mar 30 2020
STATUS
approved