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”).

These are prime numbers p such that p^3 + p^2 + p + 2 is also prime
2

%I #3 May 26 2015 12:23:37

%S 3,5,7,13,23,29,43,79,89,113,139,163,193,197,199,229,233,277,283,317,

%T 367,379,389,503,619,727,769,797,829,839,953,967,977,997,1063,1229,

%U 1297,1307,1399,1409,1483,1607,1619,1637,1697,1759,1777,1877,1979,1987,1999

%N These are prime numbers p such that p^3 + p^2 + p + 2 is also prime

%H Harvey P. Dale, <a href="/A164939/b164939.txt">Table of n, a(n) for n = 1..1000</a>

%e 3 is prime as is 3^3 + 3^2 + 3 + 2 = 41

%t Select[Prime[Range[500]],PrimeQ[ #^3 + #^2 + # + 2]&]

%Y A027444, A053698

%K easy,nonn

%O 1,1

%A B. R. Becker (bbecker(AT)panda3.phys.unm.edu), Sep 01 2009