The OEIS is supported by the many generous donors to the OEIS Foundation.

 Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A155028 Primes p such that p^3 + 2*p^2 + p + 1 is also prime. 1

%I

%S 2,5,7,13,23,47,79,89,103,109,137,139,193,223,229,257,277,293,317,347,

%T 379,389,443,457,499,593,607,653,677,709,733,823,853,883,907,953,1013,

%U 1033,1087,1103,1117,1283,1297,1307,1327,1367,1409,1489,1523,1549,1597

%N Primes p such that p^3 + 2*p^2 + p + 1 is also prime.

%H Vincenzo Librandi, <a href="/A155028/b155028.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Prime[Range[1600]], PrimeQ[(#^3 + 2*#^2 + # + 1)]&] (* _Vincenzo Librandi_, Oct 30 2012 *)

%o (Magma) [p: p in PrimesUpTo(1600)| IsPrime(p^3 + 2*p^2 + p + 1)]; // _Vincenzo Librandi_, Oct 30 2012

%Y Cf. A154686.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Jan 19 2009

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

Last modified November 29 09:23 EST 2022. Contains 358422 sequences. (Running on oeis4.)