OFFSET
1,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
PROG
(PARI) { m = s = 0; for (n = 1, 67, for (v = 1, oo, if (!bittest(s, v), x = bitand(m, v); if (x==0 || x==v, s += 2^v; m = bitxor(m, v); print1 (m", "); break; ); ); ); ); }
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Aug 31 2024
STATUS
approved