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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157467 Primes of the form p^2+2*p+2 where p is prime. 2
17, 37, 197, 401, 577, 2917, 5477, 7057, 8101, 12101, 22501, 32401, 50177, 52901, 57601, 69697, 72901, 80657, 98597, 122501, 147457, 176401, 193601, 197137, 215297, 324901, 352837, 414737, 427717, 454277, 547601, 739601, 746497, 846401 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

MATHEMATICA

lst={}; Do[p=Prime[n]; r=Sqrt[p-1]-1; If[PrimeQ[r], AppendTo[lst, p]], {n, 4*8!}]; lst

PROG

(MAGMA) [a: p in PrimesUpTo(950) | IsPrime(a) where a is p^2+2*p+2]; [From Vincenzo Librandi, Dec 20 2010]

(PARI) forprime(p=2, 1000, m=p^2+2*p+2; if(isprime(m), print1(m, ", ")))

CROSSREFS

Cf. A127435, A127436.

Sequence in context: A052292 A154301 A057185 * A093343 A153685 A121710

Adjacent sequences:  A157464 A157465 A157466 * A157468 A157469 A157470

KEYWORD

nonn

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Mar 01 2009

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

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

Last modified February 14 23:53 EST 2012. Contains 205689 sequences.