A256521 Table T(n, k) of positions p[i] where number n occurs after the decimal point in the decimal expansion of Pi, read by antidiagonals.
32, 50, 1, 54, 3, 6, 65, 37, 16, 9, 71, 40, 21, 15, 2, 77, 49, 28, 17, 19, 4, 85, 68, 33, 24, 23, 8, 7, 97, 94, 53, 25, 36, 10, 20, 13, 106, 95, 63, 27, 57, 31, 22, 29, 11, 116, 103, 73, 43, 59, 48, 41, 39, 18, 5, 121, 110, 76, 46, 60, 51, 69, 47, 26, 12, 49, 128, 138, 83, 64, 70, 61, 72, 56, 34, 14, 163, 94
Offset: 0
Examples
T(6, 4) = 41, since the fourth occurrence of 6 in the decimal expansion of Pi is at position 41.
Links
- Robert G. Wilson v, Table of n, a(n) for n = 0..1000
- D. G. Andersen, The Pi-Search Page
Crossrefs
Programs
-
Mathematica
spi = StringDrop[ ToString[ N[ Pi, 1000]], 2]; t[n_, k_] := StringPosition[ spi, ToString[n], k][[-1, 1]]; Table[ t[n - k, k], {n, 0, 12}, {k, n, 1, -1}] // Flatten (* Robert G. Wilson v, Apr 07 2015 *)
Extensions
More terms from Robert G. Wilson v, Apr 07 2015
Comments