OFFSET
0,1
COMMENTS
EXAMPLE
1/Pi = 0.31830988618379067153776752674... so the first occurrence of 0 after the decimal point is at position 5; first occurrence of 1 is at position 2; first occurrence of 2 is at position 26; etc.
MATHEMATICA
Table[ SequencePosition[#, IntegerDigits@ n][[1, 1]], {n, 0, 65}] &@ First@ RealDigits@ N[1/Pi, 10^4] (* James C. McMahon, Feb 06 2024 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Mark Hudson (mrmarkhudson(AT)hotmail.com), Nov 03 2004
EXTENSIONS
Edited by N. J. A. Sloane, Jun 30 2008 at the suggestion of R. J. Mathar
STATUS
approved