A068987 a(n) is the first position in the digit sequence 3,1,4,1,5,9,.... of Pi where the pattern "1,2,...,n" occurs (where position of the initial 3 is 1).
2, 149, 1925, 13808, 49703, 2458886, 9470345, 186557267, 523551503, 191278379840, 4368196101672
Offset: 1
References
- Wacław Sierpiński, O stu prostych, ale trudnych zagadnieniach arytmetyki. Warsaw: PZWS, 1959, p. 32.
Links
- D. G. Andersen, The Pi-Search Page
- SubIdiom.com, Irrational numbers search engine: π = 3.14159.... (Search within 2*10^9 digits, since at least 2009, maybe 2002.)
- Peter Trüb, 22.4 trillion digits of pi
Crossrefs
First occurrence of n times the same digit: A035117 (n '1's), A050281 (n '2's), A050282, A050283, A050284, A050286, A050287, A048940 (n '9's).
First occurrence of exactly n times the same digit: A096755 (exactly n '1's), A096756, A096757, A096758, A096759, A096760, A096761, A096762, A096763 (exactly n '9's), A050279 (exactly n '0's).
Cf. A000796: Decimal expansion (or digits) of Pi.
Programs
-
Mathematica
p = ToString[N[Pi, 50000]/10]; t = {1, 12, 123, 1234, 12345}; g[n_] := StringPosition[p, ToString[n]][[1]][[1]] - 2; Table[g[t[[i]]], {i, 1, 5}]
Formula
a(n) = A121280(n) + 1. - M. F. Hasler, Apr 13 2019
Extensions
More terms from Rick L. Shepherd, Oct 10 2002
a(8) from Rick L. Shepherd, Aug 06 2006
Additional term a(9), using subidiom search engine, from M. F. Hasler, Apr 13 2019
a(10)-a(11) from Dmitry Petukhov, Jan 16 2020
Comments