OFFSET
0,1
COMMENTS
Table T(n, k) starts:
n = 0: 32, 50, 54, 65, 71, 77, 85, 97, 106, 116, ...
n = 1: 1, 3, 37, 40, 49, 68, 94, 95, 103, 110, ...
n = 2: 6, 16, 21, 28, 33, 53, 63, 73, 76, 83, ...
n = 3: 9, 15, 17, 24, 25, 27, 43, 46, 64, 86, ...
n = 4: 2, 19, 23, 36, 57, 59, 60, 70, 87, 92, ...
n = 5: 4, 8, 10, 31, 48, 51, 61, 90, 109, 130, ...
n = 6: 7, 20, 22, 41, 69, 72, 75, 82, 98, 108, ...
n = 7: 13, 29, 39, 47, 56, 66, 96, 99, 120, 139, ...
n = 8: 11, 18, 26, 34, 35, 52, 67, 74, 78, 81, ...
n = 9: 5, 12, 14, 30, 38, 42, 44, 45, 55, 58, ...
n = 10: 49, 163, 175, 206, 269, 442, 681, 780, 852, 854, ...
...
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 0..1000
D. G. Andersen, The Pi-Search Page
EXAMPLE
T(6, 4) = 41, since the fourth occurrence of 6 in the decimal expansion of Pi is at position 41.
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 *)
CROSSREFS
KEYWORD
AUTHOR
Felix Fröhlich, Apr 01 2015
EXTENSIONS
More terms from Robert G. Wilson v, Apr 07 2015
STATUS
approved