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).

Original entry on oeis.org

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

Views

Author

Rémy Sigrist, Aug 31 2024

Keywords

Examples

			a(3) = A360706(1) XOR A360706(2) XOR A360706(3) = 1 XOR 2 XOR 3 = 0.
		

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;);););); }