OFFSET
0,5
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..4048
MAPLE
b:= proc(n, t) option remember; `if`(n=0, 1,
add(b(n-2^j, t), j=0..min(ilog2(n), t)))
end:
a:= n-> b(n, ilog2(floor(sqrt(n)))):
seq(a(n), n=0..37); # Alois P. Heinz, Jan 18 2024
MATHEMATICA
Table[SeriesCoefficient[1/(1 - Sum[Boole[IntegerQ[Log[2, k]]] x^k, {k, 1, Floor[Sqrt[n]]}]), {x, 0, n}], {n, 0, 37}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 16 2024
STATUS
approved