login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A164939
These are prime numbers p such that p^3 + p^2 + p + 2 is also prime
2
3, 5, 7, 13, 23, 29, 43, 79, 89, 113, 139, 163, 193, 197, 199, 229, 233, 277, 283, 317, 367, 379, 389, 503, 619, 727, 769, 797, 829, 839, 953, 967, 977, 997, 1063, 1229, 1297, 1307, 1399, 1409, 1483, 1607, 1619, 1637, 1697, 1759, 1777, 1877, 1979, 1987, 1999
OFFSET
1,1
LINKS
EXAMPLE
3 is prime as is 3^3 + 3^2 + 3 + 2 = 41
MATHEMATICA
Select[Prime[Range[500]], PrimeQ[ #^3 + #^2 + # + 2]&]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
B. R. Becker (bbecker(AT)panda3.phys.unm.edu), Sep 01 2009
STATUS
approved