[go: up one dir, main page]

login
A100080
Position of first occurrence of n after the decimal point in the decimal expansion of 1/Pi.
0
5, 2, 26, 1, 29, 19, 9, 13, 3, 6, 297, 64, 50, 385, 45, 18, 116, 65, 2, 41, 393, 102, 85, 125, 35, 93, 26, 86, 32, 43, 4, 1, 92, 58, 59, 69, 126, 12, 165, 151, 36, 717, 437, 196, 226, 29, 60, 160, 46, 55, 30, 112, 25, 19, 108, 90, 105, 134, 123, 70, 88, 9, 446, 149, 236, 511
OFFSET
0,1
COMMENTS
a(0) = A133268(1),
a(1) = A134251(1),
a(2) = A134252(1),
a(3) = A134253(1),
a(4) = A134254(1),
a(5) = A134255(1),
a(6) = A134256(1),
a(7) = A134257(1),
a(8) = A134258(1),
a(9) = A134259(1),
a(10) = A134260(1). - Artur Jasinski, Oct 16 2007
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