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.

A159261 Primes of the form 1 + sum_{i=1..n} 2^prime[i] for some n.

Original entry on oeis.org

5, 13, 173, 2111, 665773, 3142394278117397493736691789093238367784438314557856426157
Offset: 1

Views

Author

T. D. Noe, Apr 07 2009

Keywords

Comments

Primes whose binary representation has the 0 and prime bits set up to prime(n). The values of n are in A159260.

Programs

  • Mathematica
    s=1; Reap[Do[s=s+2^Prime[n]; If[PrimeQ[s], Sow[s]], {n,50}]][[2,1]]