OFFSET
1,1
COMMENTS
7 of the first 8 odd primes are in this list.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..2000
EXAMPLE
3 is in the sequence because 3^2 + 28 = 37, which is also prime.
5 is in the sequence because 5^2 + 28 = 53, which is also prime.
7 is not in the sequence because 7^2 + 28 = 77 = 7 * 11.
MAPLE
A245048:=n->`if`(isprime(n) and isprime(n^2+28), n, NULL): seq(A245048(n), n=1..10^3); # Wesley Ivan Hurt, Jul 24 2014
MATHEMATICA
Select[Prime[Range[200]], PrimeQ[#^2 + 28] &] (* Alonso del Arte, Jul 12 2014 *)
PROG
(Python)
import sympy
[sympy.prime(n) for n in range(1, 10**6) if sympy.ntheory.isprime(sympy.prime(n)**2+28)]
CROSSREFS
KEYWORD
nonn
AUTHOR
Chai Wah Wu, Jul 10 2014
STATUS
approved