

A049422


Numbers n such that n^2+3 is prime.


19



0, 2, 4, 8, 10, 14, 22, 28, 38, 50, 52, 62, 64, 70, 74, 76, 92, 94, 106, 112, 122, 130, 134, 140, 146, 154, 158, 160, 172, 178, 218, 230, 242, 244, 248, 256, 274, 286, 298, 304, 316, 322, 326, 340, 350, 356, 364, 368, 398, 406, 416, 424, 430, 434, 440, 458, 470
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


LINKS

Zak Seidov, Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, NearSquare Prime


EXAMPLE

f(4) = 4^2+3=19 which is prime.


MATHEMATICA

lst={}; Do[If[PrimeQ[n^2+3], Print[n]; AppendTo[lst, n]], {n, 10^5}]; lst [From Vladimir Joseph Stephan Orlovsky, Aug 21 2008]


PROG

(PARI) isA049422(n) = isprime(n^2+3) [From Michael B. Porter, Mar 19 2010]


CROSSREFS

Sequence in context: A206037 A242247 A089033 * A178215 A067925 A102431
Adjacent sequences: A049419 A049420 A049421 * A049423 A049424 A049425


KEYWORD

easy,nonn


AUTHOR

Paul Jobling (paul.jobling(AT)whitecross.com)


STATUS

approved



