login
A072727
Denominator of the rationals >= 1 whose continued fractions consist of only even terms, in ascending order by the sum of the continued fraction terms and descending by lowest order continued fraction terms to highest.
4
0, 1, 1, 2, 1, 2, 4, 5, 1, 2, 4, 5, 6, 9, 9, 12, 1, 2, 4, 5, 6, 9, 9, 12, 8, 13, 17, 22, 13, 20, 22, 29, 1, 2, 4, 5, 6, 9, 9, 12, 8, 13, 17, 22, 13, 20, 22, 29, 10, 17, 25, 32, 25, 38, 40, 53, 17, 28, 38, 49, 32, 49, 53, 70
OFFSET
0,4
FORMULA
a(n) = A072726(m) where m = n - 2^(floor(log_2(n))). a(0) = 0, a(2^k) = 1, a(2^k + 1) = 2, a(2^k - 1) = the k-th Pell number. [Corrected by Sean A. Irvine, Oct 22 2024]
CROSSREFS
KEYWORD
easy,frac,nice,nonn
AUTHOR
Paul D. Hanna, Jul 09 2002
STATUS
approved