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!)
A355512 Sum of numerator and denominator in the convergents of the approximation of log(2)/log(3) by a continued fraction. 4
2, 3, 5, 13, 31, 106, 137, 791, 1719, 40328, 82375, 205078, 287453, 492531, 27376658, 27869189, 138853414, 444429431, 583282845, 1027712276, 15998966985, 17026679261, 169239080334, 355504839929, 1946763279979, 13982847799782, 15929611079761, 29912458879543, 135579446597933 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(PARI) a355512(upto) = {my(q=log(2)/log(3), fa=oo); for (denmax=1, upto, my(f=bestappr(q, denmax)); if (fa!=f, print1(numerator(f)+denominator(f), ", "); fa=f))};
\\ needs increased precision for larger terms
a355512(10^6)
(PARI) See also A005663 and A005664 for efficient code.
CROSSREFS
Cf. A355514 for the relation to potential cycle lengths of the 3x+1 problem.
Sequence in context: A108515 A167495 A041519 * A060434 A072999 A175093
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jul 05 2022
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 July 21 12:49 EDT 2024. Contains 374474 sequences. (Running on oeis4.)