login
A324204
a(n) is the smallest denominator D of the fraction N/D with 1 <= D < 2^n which is closest to (3/2)^n.
0
1, 1, 3, 1, 5, 23, 35, 97, 203, 409, 205, 1297, 933, 311, 10819, 18239, 37611, 118535, 135251, 394609, 217989, 72663, 24221, 2788129, 4663029, 32000089, 11702925, 3900975, 1300325, 358347383, 596378755, 1232862847, 3274265813, 6818044999, 3453941395
OFFSET
1,3
COMMENTS
First 10000 terms are odd. Is that the general case?
MATHEMATICA
a[n_] := Denominator[FromContinuedFraction[ContinuedFraction[(3/2)^n][[1 ;; -2]]]]; Array[a, 35] (* Amiram Eldar, Jul 10 2019 *)
CROSSREFS
Cf. A215199.
Sequence in context: A265981 A037280 A352009 * A168611 A357201 A133397
KEYWORD
nonn,frac
AUTHOR
David A. Corneth, Mar 14 2019
STATUS
approved