login
This site is supported by donations to The OEIS Foundation.

 

Logo

Many excellent designs for a new banner were submitted. We will use the best of them in rotation.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A049422 Numbers n such that n^2+3 is prime. 18
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, Near-Square 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: A091992 A206037 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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified April 20 16:29 EDT 2014. Contains 240807 sequences.