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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154686 Numbers k such that k^3 + 2*k^2 + k + 1 is prime. 3
1, 2, 4, 5, 7, 12, 13, 20, 23, 25, 27, 28, 32, 33, 34, 35, 39, 42, 44, 47, 48, 49, 50, 54, 57, 75, 79, 82, 88, 89, 92, 95, 98, 99, 100, 103, 109, 110, 114, 117, 119, 120, 123, 132, 134, 137, 139, 147, 148, 160, 169, 172, 180, 189, 190, 193, 194, 200, 202, 203, 204, 205 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
One less than the entry in A111501. - R. J. Mathar, Jan 05 2011
LINKS
MATHEMATICA
Select[Range[0, 100], PrimeQ[#^3 + 2 #^2 + # + 1]&] (* Vincenzo Librandi, Sep 24 2012 *)
PROG
(Magma) [n: n in [0..210] | IsPrime(n^3+2*n^2+n+1)]; // Vincenzo Librandi, Sep 24 2012
(PARI) is(n)=isprime(n^3+2*n^2+n+1) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
Cf. A111501, A162292 (associated primes).
Sequence in context: A257033 A039674 A090649 * A358511 A165196 A007062
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 19 2009
STATUS
approved

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 4 19:41 EDT 2024. Contains 372257 sequences. (Running on oeis4.)