OFFSET
0,4
LINKS
T. D. Noe, Table of n, a(n) for n = 0..1023
FORMULA
a(n) = A072726(m) where m = n - 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.
CROSSREFS
KEYWORD
easy,frac,nice,nonn
AUTHOR
Paul D. Hanna, Jul 09 2002
STATUS
approved