Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #6 Sep 01 2024 17:12:34
%S 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,
%T 31,4,37,0,28,62,32,61,21,63,32,96,0,35,103,65,109,68,111,72,120,64,
%U 109,44,110,64,111,44,124,72,121,64,114,32,101,4,55,2,62,8
%N a(n) = A360706(1) XOR ... XOR A360706(n) (where XOR denotes the bitwise XOR operator).
%H Rémy Sigrist, <a href="/A375856/b375856.txt">Table of n, a(n) for n = 1..10000</a>
%e a(3) = A360706(1) XOR A360706(2) XOR A360706(3) = 1 XOR 2 XOR 3 = 0.
%o (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;);););); }
%Y Cf. A360706.
%K nonn,base
%O 1,2
%A _Rémy Sigrist_, Aug 31 2024