OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
If n=0, then n^2 + n + 257 = 257 (prime).
If n=100, then n^2 + n + 257 = 10357 (prime).
MATHEMATICA
Select[Range[0, 200], PrimeQ[#^2+#+257]&] (* Harvey P. Dale, Jun 07 2016 *)
PROG
(Magma) [n: n in [0..5000] |IsPrime(n^2+n+257)] // Vincenzo Librandi, Nov 25 2010
(PARI) isok(n) = isprime(n^2+n+257); \\ Michel Marcus, Mar 12 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Aug 09 2008
EXTENSIONS
More terms from Vincenzo Librandi, Mar 25 2010
STATUS
approved