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.

A246516 Primes of the form 2*4^n - n.

Original entry on oeis.org

2, 7, 549755813869, 2475880078570760549798248403
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Aug 28 2014

Keywords

Comments

a(5) and a(6) are 125 and 266 decimal digits long, respectively. - Derek Orr, Aug 28 2014

Examples

			2*4^0 - 0 = 2 is prime, thus 2 is a member of this sequence.
		

Crossrefs

Programs

  • Magma
    [a: n in [0..500] | IsPrime(a) where a is 2*4^n - n];
    
  • Mathematica
    Select[Table[2^(2n + 1) - n, {n, 0, 127}], PrimeQ] (* Alonso del Arte, Sep 16 2014 *)
  • PARI
    for(n=0,10^3,if(ispseudoprime(2^(2*n+1)-n),print1(2^(2*n+1)-n,", "))) \\ Derek Orr, Aug 28 2014