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.

A300692 Primes that are the sum of all primes up to some power of 2.

Original entry on oeis.org

2, 5, 17, 41, 202288087, 4394533064208947008756469709307
Offset: 1

Views

Author

Christoph Zurnieden, Apr 03 2018

Keywords

Comments

Elements in the sequence are certified primes.
The corresponding exponents of 2 are 1, 2, 3, 4, 16 and 54.

Examples

			17 is a term because the sum of all primes below 2^3 is 2+3+5+7 = 17 which is prime.
		

Crossrefs

Programs

  • Mathematica
    Select[Array[Total@ Prime@ Range@ PrimePi[2^#] &, 27, 0], PrimeQ] (* Michael De Vlieger, Apr 10 2018 *)
  • PARI
    lista(nn) = {for (n=0, nn, s = 0; forprime(k=0, 2^n, s+=k); if (isprime(s), print1(s, ", ")));}

Formula

Numbers of the form Sum_{i=2..2^n-1} A061397(i) that are prime.