login
A155037
Numbers n such that n^3+2*n^2+1 is prime.
1
2, 4, 8, 10, 12, 14, 18, 22, 34, 42, 44, 48, 56, 62, 64, 76, 78, 80, 88, 90, 100, 102, 116, 130, 134, 136, 144, 146, 154, 162, 168, 184, 186, 212, 222, 226, 230, 234, 238, 248, 260, 264, 270, 282, 284, 288, 300, 310, 314, 316, 350, 356, 378, 400, 404, 418, 424
OFFSET
1,1
LINKS
EXAMPLE
For n=2, n^3+2*n^2+1=17; n=48, n^3+2*n^2+1=115201.
MATHEMATICA
Select[Range[0, 500], PrimeQ[#^3+2#^2+1]&] (* Vincenzo Librandi, Sep 24 2012 *)
PROG
(Magma) [n: n in [0..450] | IsPrime(n^3+2*n^2+1)]; // Vincenzo Librandi, Sep 24 2012
(PARI) is(n)=isprime(n^3+2*n^2+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A133012 A039011 A132190 * A001770 A032494 A125953
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 19 2009
STATUS
approved