cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A375856 a(n) = A360706(1) XOR ... XOR A360706(n) (where XOR denotes the bitwise XOR operator).

This page as a plain text file.
%I A375856 #6 Sep 01 2024 17:12:34
%S A375856 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 A375856 31,4,37,0,28,62,32,61,21,63,32,96,0,35,103,65,109,68,111,72,120,64,
%U A375856 109,44,110,64,111,44,124,72,121,64,114,32,101,4,55,2,62,8
%N A375856 a(n) = A360706(1) XOR ... XOR A360706(n) (where XOR denotes the bitwise XOR operator).
%H A375856 Rémy Sigrist, <a href="/A375856/b375856.txt">Table of n, a(n) for n = 1..10000</a>
%e A375856 a(3) = A360706(1) XOR A360706(2) XOR A360706(3) = 1 XOR 2 XOR 3 = 0.
%o A375856 (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 A375856 Cf. A360706.
%K A375856 nonn,base
%O A375856 1,2
%A A375856 _Rémy Sigrist_, Aug 31 2024