OFFSET
1,3
COMMENTS
All terms are even except a(2) = 1.
See A317420 for similar sequences.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
EXAMPLE
For n = 4:
- a(1) AND a(3) = 0 AND 2 = 0,
- a(2) AND a(2) = 1 AND 1 = 1 <> 0,
- a(3) AND a(1) = 2 AND 0 = 0,
- hence a(4) = 2.
PROG
(PARI) a = vector(71); for (n=1, #a, a[n] = sum(k=1, n-1, bitand(a[k], a[n-k])==0); print1 (a[n] ", "))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jul 27 2018
STATUS
approved