OFFSET
1,2
COMMENTS
For any n > 0, a(n) is divisible by n.
For any n > 0, if a(n) = 0, then A296099(n+1) is a multiple of n+1.
LINKS
PROG
(PARI) s = 0; x = 0; for (n=1, 65, for (k=1, oo, if (!bittest(s, k) && (xx=bitxor(x, k))%n==0, x = xx; s += 2^k; print1 (x ", "); break)))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Dec 05 2017
STATUS
approved