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.

A255682 Numbers k such that 4^k - 2^k - 3 is prime.

Original entry on oeis.org

3, 7, 13, 15, 21, 73, 231, 301, 493, 895, 955, 4069, 5057, 5415, 15325, 19845, 21603, 24577, 37877, 40193, 44283
Offset: 1

Views

Author

Vincenzo Librandi, Mar 02 2015

Keywords

Comments

a(22) > 150000. - Hans Havermann, Jul 18 2015

Examples

			3 is in this sequence because 4^3 - 2^3 - 3 = 53.
		

Crossrefs

Cf. A098845.

Programs

  • Magma
    [n: n in [1..800] | IsPrime(4^n-2^n-3)];
    
  • Mathematica
    Select[Range[15000], PrimeQ[4^# - 2^# - 3] &]
  • PARI
    for(n=1,500,if(ispseudoprime(4^n-2^n-3),print1(n,", "))) \\ Derek Orr, Mar 03 2015

Extensions

a(15)-a(21) from Hans Havermann, Jul 18 2015