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”).

A076593
First occurrence of n as a term in the continued fraction for log(3).
0
1, 5, 8, 29, 25, 40, 3, 264, 4, 2, 122, 177, 36, 115, 14, 193, 12, 176, 54, 655, 444, 527, 394, 491, 823, 204, 349, 170, 704, 105, 1331, 10, 129, 558, 20, 2361, 1680, 2402, 1420, 155, 457, 99, 1575, 118, 370, 270, 2486, 1695, 1572, 666, 680, 658, 5603, 5287
OFFSET
1,2
PROG
(PARI) (1500 precision digits) v=contfrac(log(3)); a(n)=if(n<0, 0, s=1; while(abs(n-component(v, s))>0, s++); s)
CROSSREFS
Cf. A032523.
Sequence in context: A182543 A026539 A126700 * A219775 A129774 A228472
KEYWORD
base,nonn
AUTHOR
Benoit Cloitre, Oct 20 2002
STATUS
approved