OFFSET
0,4
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
N. J. A. Sloane, Transforms
Eric Weisstein's World of Mathematics, AND
MAPLE
a:= proc(n) option remember; `if`(n<2, 1,
add(Bits[And](a(k), a(n-k-2)), k=0..n-2))
end:
seq(a(n), n=0..80); # Alois P. Heinz, Aug 30 2018
MATHEMATICA
a[0] = a[1] = 1; a[n_] := a[n] = Sum[BitAnd[a[k], a[n - k - 2]], {k, 0, n - 2}]; Table[a[n], {n, 0, 62}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 30 2018
STATUS
approved