A375856 a(n) = A360706(1) XOR ... XOR A360706(n) (where XOR denotes the bitwise XOR operator).
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
Examples
a(3) = A360706(1) XOR A360706(2) XOR A360706(3) = 1 XOR 2 XOR 3 = 0.
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A360706.
Programs
-
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;);););); }