cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A076593 First occurrence of n as a term in the continued fraction for log(3).

Original entry on oeis.org

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

Views

Author

Benoit Cloitre, Oct 20 2002

Keywords

Crossrefs

Programs

  • PARI
    default(realprecision, 1500); v=contfrac(log(3)); a(n)=if(n<0,0,s=1; while(abs(n-component(v,s))>0,s++); s)