login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A033149
Position of first occurrence of n in the continued fraction for the Euler-Mascheroni constant (gamma).
2
2, 4, 9, 8, 11, 69, 24, 14, 139, 52, 22, 161, 10, 199, 337, 79, 163, 176, 384, 614, 183, 651, 137, 480, 250, 862, 554, 618, 287, 300, 1952, 166, 150, 2038, 560, 483, 1284, 681, 306, 20, 349, 1130, 2280, 1884, 1903, 2564, 4753, 717, 31, 2610, 568, 248, 2171
OFFSET
1,1
COMMENTS
The smallest positive integers not appearing in the first 970,258,158 terms of the c.f. are 13161, 13295, 14734, 14970, 14971, 15795, 15985, 16011, 16110, ... - Eric Weisstein, Sep 21 2011
FORMULA
a(n) = A224847(n) + 1.
PROG
(PARI) (15000 precision digits) v=contfrac(Euler); a(n)=if(n<0, 0, s=1; while(abs(n-component(v, s))>0, s++); s)
CROSSREFS
Cf. A224847 (= a(n) -1).
Sequence in context: A011033 A179219 A367726 * A131094 A129598 A256017
KEYWORD
nonn,base
EXTENSIONS
More terms from Benoit Cloitre, Oct 20 2002
STATUS
approved