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!)
A162237 Primes p such that p^2+3*p+1 is not prime. 1
11, 13, 17, 31, 41, 61, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 127, 131, 149, 151, 167, 181, 191, 193, 197, 199, 211, 223, 227, 233, 241, 251, 269, 271, 277, 281, 283, 307, 311, 317, 331, 337, 347, 367, 383, 389, 397, 401, 409, 421, 431, 433, 439, 443 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
p=11, p^2+3*p+1=155=5*31; p=13, p^2+3*p+1=209=11*19; p=17, p^2+3*p+1=341=11*31.
MATHEMATICA
Select[Range[0, 500], PrimeQ[#] && !PrimeQ[#^2 + 3 # + 1] &] (* Vincenzo Librandi, Sep 11 2013
PROG
(Magma) [p: p in PrimesUpTo(500) | not IsPrime(p^2+3*p+1)]; // Vincenzo Librandi, Sep 11 2013
CROSSREFS
Cf. A153590.
Sequence in context: A185104 A240570 A354524 * A325870 A090236 A240623
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jun 28 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 6 07:22 EDT 2024. Contains 372290 sequences. (Running on oeis4.)