



4, 9, 30, 40, 44, 130, 276, 647, 791, 878, 1008, 3041, 3200, 3384, 5606, 9721, 17899, 22640, 34070, 34152, 37648, 91193, 134943, 152617, 158172, 190950, 258992, 315679, 525765, 558041, 734305, 1500708, 1669873, 1873804, 1936902, 4278672, 5227319, 7385934, 7876549, 10765774, 11396841, 11466234, 12994613, 19147251, 31403937, 43166470
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Each entry is enumerated: 1,2,1,2,1,1,2,6,8,4,1,1,1,1,1,1,1,1,1,8,6,... in A091657.
The 4278672nd term of the continued fraction expansion of Pi is 837.


LINKS

Table of n, a(n) for n=1..46.
H. Havermann, 3131 terms of a trivial variation (first term of pi excluded) of A032523
Eric Weisstein's World of Mathematics, Pi Continued Fraction.


EXAMPLE

One has to go to the 30th term of the continued fraction of Pi (4) to have seen the integers 1, 2, 3 & 4.


MATHEMATICA

cfpi = ContinuedFraction[Pi, 10000000]; a = Table[0, {1562}]; Do[b = cfpi[[n]]; If[b < 1563 && a[[b]] == 0, a[[b]] = n], {n, 1, 10000000}]; c


CROSSREFS

Cf. A001203, A032523, A091657.
Sequence in context: A231255 A241393 A186650 * A297960 A295910 A086688
Adjacent sequences: A091655 A091656 A091657 * A091659 A091660 A091661


KEYWORD

nonn


AUTHOR

Robert G. Wilson v, Jan 26 2004


STATUS

approved



