OFFSET
1,1
EXAMPLE
If n=2 then 7*n^2 + 1 = 29 (prime).
If n=100 then 7*n^2 + 1 = 70001 (prime).
MATHEMATICA
Select[Range[300], PrimeQ[7*#^2 + 1] &] (* Stefan Steinerberger, Jan 02 2008 *)
PROG
(Magma) [ n: n in [0..500] | IsPrime(7*n^2 + 1) ]; // Vincenzo Librandi, Jan 31 2011
(PARI) is(n)=isprime(7*n^2+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Nov 05 2007
EXTENSIONS
More terms from Stefan Steinerberger, Jan 02 2008
STATUS
approved