login
A375856
a(n) = A360706(1) XOR ... XOR A360706(n) (where XOR denotes the bitwise XOR operator).
2
1, 3, 0, 4, 12, 0, 5, 15, 9, 0, 7, 23, 6, 30, 16, 27, 9, 29, 16, 31, 12, 44, 8, 29, 4, 30, 8, 31, 4, 37, 0, 28, 62, 32, 61, 21, 63, 32, 96, 0, 35, 103, 65, 109, 68, 111, 72, 120, 64, 109, 44, 110, 64, 111, 44, 124, 72, 121, 64, 114, 32, 101, 4, 55, 2, 62, 8
OFFSET
1,2
LINKS
EXAMPLE
a(3) = A360706(1) XOR A360706(2) XOR A360706(3) = 1 XOR 2 XOR 3 = 0.
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
Cf. A360706.
Sequence in context: A357884 A074171 A180657 * A094665 A309053 A052439
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Aug 31 2024
STATUS
approved