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.

Showing 1-1 of 1 results.

A248719 Numbers n such that 4*nextprime(2^n)^2+1 is prime.

Original entry on oeis.org

0, 1, 2, 5, 6, 18, 43, 52, 106, 383, 417, 663, 849, 971
Offset: 1

Views

Author

M. F. Hasler, Oct 12 2014

Keywords

Comments

This sequence provides "simplest" examples of large primes of the form x^2+1, cf. A174246.

Examples

			a(1)=0 since nextprime(2^0)=2 and 4*2^2+1 = 17 is prime.
		

Crossrefs

Cf. A174246.

Programs

  • Mathematica
    fQ[n_] := PrimeQ[ 4NextPrime[2^n]^2 + 1]; Select[ Range@ 3000, fQ] (* Robert G. Wilson v, Dec 27 2014 *)
  • PARI
    for(n=0,9e9,ispseudoprime(4*nextprime(2^n)^2+1)&&print1(n","))

Extensions

a(13) and a(14) from Robert G. Wilson v, Dec 27 2014
Showing 1-1 of 1 results.