login
Let k be the decimal string formed by the first n digits of Pi after the decimal point; a(n) is the position where the second occurrence of k begins.
2

%I #22 Jan 04 2019 15:06:45

%S 3,103,295,6955,6955,821582,1457055,191525093,570434346,10685448370,

%T 166717504076,329466468458

%N Let k be the decimal string formed by the first n digits of Pi after the decimal point; a(n) is the position where the second occurrence of k begins.

%C By definition, k occurs at digit place 1 in the decimal expansion of Pi. This sequence returns the digit place of the next occurrence of k. The first 1000 billion digits of Pi where scanned to find the 3 additional terms.

%H Peter Treub, <a href="https://archive.org/download/pi_dec_1t">1000 billion digits of Pi</a>, at Archive.org site. [_Simon Plouffe_, Jan 04 2019]

%e The decimal expansion of Pi begins: 3.1415926535897932384626433832795... .

%e The second occurrence of 1 is at the third position, so a(1) = 3.

%e The second occurrence of 14 is at position 103, so a(2) = 103.

%e The second occurrence of 141 is at position 295, so a(3) = 295.

%Y Cf. A000796.

%K nonn,base,more

%O 1,1

%A _Paul S Cuckoo_, Jan 02 2019

%E a(10)-a(12) from _Simon Plouffe_, Jan 04 2018