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.
6, 46, 2952, 17992, 19451, 768, 1722783, 36356650, 564665215, 20148132320, 27014073315, 897831316568, 10542036048463, 5758910552723
Offset: 1
Links
- Dave Andersen, The Pi-Search Page.
Programs
-
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)))}
Formula
a(n) = A096763(n) + n. - Danny Rorabaugh, Mar 31 2015
Extensions
a(10)-a(14) added using A096763 by Jinyuan Wang, Mar 30 2020
Comments