OFFSET
1,2
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, Near-Square Prime
EXAMPLE
4^2 + 3 = 19, which is prime.
MATHEMATICA
lst={}; Do[If[PrimeQ[n^2+3], Print[n]; AppendTo[lst, n]], {n, 10^5}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 21 2008 *)
PROG
(PARI) isA049422(n) = isprime(n^2+3) \\ Michael B. Porter, Mar 19 2010
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Jobling (paul.jobling(AT)whitecross.com)
STATUS
approved