OFFSET
1,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
Patrick De Geest, World!Of Numbers
EXAMPLE
Since 3^2 + 3 + 5 = 17, which is prime, 3 is in the sequence.
Since 4^2 + 4 + 5 = 25 = 5^2, 4 is not in the sequence.
MATHEMATICA
Select[Range[0, 499], PrimeQ[#^2 + # + 5] &] (* Alonso del Arte, Nov 28 2016 *)
PROG
(Magma) [n: n in [0..1000] |IsPrime(n^2+n+5)] // Vincenzo Librandi, Nov 20 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved