OFFSET
0,2
REFERENCES
R. K. Guy, personal communication.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
T. D. Noe, Table of n, a(n) for n=0..200
R. E. Crandall, On the 3x+1 problem, Math. Comp., 32 (1978) 1281-1292.
E. G. Dunne, Pianos and Continued Fractions
E. G. Dunne, Pianos and Continued Fractions
R. K. Guy, Letter to N. J. A. Sloane, 1977
Eric Weisstein's World of Music, Comma of Pythagoras
EXAMPLE
log_2(3) = 1.5849625007211561814537389439...
MATHEMATICA
Numerator[Convergents[Log[2, 3], 30]] (* Harvey P. Dale, Sep 10 2015 *)
PROG
(PARI) a(n) = component(component(contfracpnqn(contfrac(log(3)/log(2), n)), 1), 1) \\ Michel Marcus, May 20 2013
CROSSREFS
KEYWORD
frac,easy,nonn
AUTHOR
EXTENSIONS
More terms from James A. Sellers, Sep 16 2000
STATUS
approved