login
The OEIS is supported by the many generous donors to the OEIS 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
MATHEMATICA
Module[{nn=6200, cfl2}, cfl2=ContinuedFraction[Log[2], nn]; Table[Position[cfl2, n, 1, 1], {n, 60}]]//Flatten (* Harvey P. Dale, Mar 09 2023 *)
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 08:55 EDT 2024. Contains 372300 sequences. (Running on oeis4.)