login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A076592 First occurrence of n as a term in the continued fraction for log(2). 0
2, 3, 4, 31, 41, 6, 30, 90, 89, 16, 188, 126, 29, 42, 365, 395, 71, 48, 106, 379, 484, 2097, 521, 1240, 391, 1208, 300, 118, 688, 296, 180, 75, 1843, 1532, 1547, 1303, 1721, 1545, 120, 917, 881, 2082, 111, 615, 866, 311, 952, 2095, 1293, 1065, 6140 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..51.

PROG

(PARI) (1500 precision digits) v=contfrac(log(2)); a(n)=if(n<0, 0, s=1; while(abs(n-component(v, s))>0, s++); s)

CROSSREFS

Cf. A032523.

Sequence in context: A057917 A250189 A255253 * A004844 A037324 A067242

Adjacent sequences:  A076589 A076590 A076591 * A076593 A076594 A076595

KEYWORD

base,nonn

AUTHOR

Benoit Cloitre, Oct 20 2002

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 10:17 EDT 2021. Contains 348211 sequences. (Running on oeis4.)