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.

A292389 a(n) = SumXOR_{k=1..n} A292388(k) (where SumXOR is the analog of summation under the binary XOR operation).

Original entry on oeis.org

2, 3, 7, 2, 5, 3, 11, 2, 13, 7, 11, 5, 23, 7, 19, 2, 17, 7, 31, 5, 37, 59, 31, 3, 37, 7, 47, 5, 41, 2, 23, 37, 2, 31, 47, 2, 29, 41, 7, 61, 11, 53, 2, 43, 19, 47, 109, 41, 97, 43, 107, 37, 113, 61, 2, 59, 107, 61, 101, 59, 97, 61, 89, 31, 127, 29, 79, 2, 67
Offset: 1

Views

Author

Rémy Sigrist, Sep 15 2017

Keywords

Comments

All terms are prime.
Conjecturally, this sequence contains infinitely many 2's.

Examples

			a(3) = A292388(1) XOR A292388(2) XOR A292388(3) = 2 XOR 1 XOR 4 = 7.
		

Crossrefs

Cf. A292388.

Programs

  • PARI
    s=0; x=0; for (n=1, 69, for (v=1, oo, if (!bittest(s,v) && isprime(bitxor(x,v)), s+=2^v; x=bitxor(x,v); print1 (x ", "); break)))