OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
Dave Andersen, Pi-Search Page
Eric Weisstein's World of Mathematics, Pi Digits.
MATHEMATICA
Transpose[StringPosition[StringDrop[ToString[N[Pi, 9! ]], 2], "9999"]][[1]] (* Vladimir Joseph Stephan Orlovsky, Jun 19 2009 *)
Module[{digs=240000, p}, p=RealDigits[Pi, 10, digs][[1]]; SequencePosition[p, {9, 9, 9, 9}][[All, 1]]-1] (* Harvey P. Dale, Jan 12 2023 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Rick L. Shepherd, May 05 2003
STATUS
approved