OFFSET
1,1
COMMENTS
A simple variation on this sequence could ignore the 3 before the decimal point, making a(1)=1 instead.
a(17) = 6. - Dmitry Petukhov, Oct 30 2021
LINKS
Dave Andersen, Pi-Search Page
Timothy Mullican, 50 trillion digits of pi
Peter Trüb, 22.4 trillion digits of pi
Eric Weisstein's World of Mathematics, Pi Digits.
EXAMPLE
a(3) = 1 because the digit string <8>111<7>, where n=3, d=1, d1=8<>1 and d2=7<>1 in the following general form, occurs in the decimal expansion of Pi with a smaller starting index than all occurrences for n=3 of the string <d1>dd...d (n d's)<d2> for d=0, 2, 3, ..., or 9, where all of these n-digit strings are immediately preceded by some d1<>d and followed by some d2<>d. A049523(3) = 154 gives the starting index of this first occurrence of exactly three consecutive equal digits; i.e. the first 1 in this 111 is the 154th digit of Pi counting the 3 before the decimal point - add 1 to Pi-Search page result - but ignoring the decimal point itself. (<d1> is of course not completely applicable for the case n=1 in determining a(1).>
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Rick L. Shepherd, May 15 2003
EXTENSIONS
a(10)-a(11) from Giovanni Resta, Oct 02 2019
a(12)-a(14) added by Dmitry Petukhov, Jan 13 2020
a(15) from Dmitry Petukhov, Oct 30 2021
STATUS
approved