login
A245042
Primes of the form (k^2+4)/5.
2
17, 73, 89, 193, 337, 521, 953, 1009, 1249, 1657, 2377, 2833, 3329, 3433, 4441, 4561, 5849, 6553, 7297, 8081, 8737, 9769, 11617, 12401, 12601, 13417, 15569, 16937, 17881, 18121, 20353, 21649, 27529, 28729, 29033, 30577, 33457, 35449, 36809, 46273, 49801
OFFSET
1,1
COMMENTS
Also equal to primes p such that 5*p-4 is a perfect square.
MATHEMATICA
Select[(Range[500]^2+4)/5, PrimeQ] (* Harvey P. Dale, Jul 13 2014 *)
PROG
(Python)
import sympy
L = (k**2 + 4 for k in range(10**3))
[n//5 for n in L if n % 5 == 0 and sympy.ntheory.isprime(n//5)]
CROSSREFS
KEYWORD
nonn
AUTHOR
Chai Wah Wu, Jul 10 2014
STATUS
approved