login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A248719 Numbers n such that 4*nextprime(2^n)^2+1 is prime. 0
0, 1, 2, 5, 6, 18, 43, 52, 106, 383, 417, 663, 849, 971 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
This sequence provides "simplest" examples of large primes of the form x^2+1, cf. A174246.
LINKS
EXAMPLE
a(1)=0 since nextprime(2^0)=2 and 4*2^2+1 = 17 is prime.
MATHEMATICA
fQ[n_] := PrimeQ[ 4NextPrime[2^n]^2 + 1]; Select[ Range@ 3000, fQ] (* Robert G. Wilson v, Dec 27 2014 *)
PROG
(PARI) for(n=0, 9e9, ispseudoprime(4*nextprime(2^n)^2+1)&&print1(n", "))
CROSSREFS
Cf. A174246.
Sequence in context: A202854 A274911 A282536 * A184594 A341756 A014454
KEYWORD
nonn
AUTHOR
M. F. Hasler, Oct 12 2014
EXTENSIONS
a(13) and a(14) from Robert G. Wilson v, Dec 27 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)