A347075 Primes of the form p^3 + p^2 + p + 2 where p is prime.
41, 157, 401, 2381, 12721, 25261, 81401, 499361, 712981, 1455781, 2705081, 4357481, 7226501, 7684381, 7920401, 12061661, 12703861, 21330941, 22745561, 31955821, 49565921, 54583961, 59015581, 127517041, 237560441, 384769841, 455348741, 506897581, 570410861, 591294481, 866432341, 905167121
Offset: 1
Keywords
Examples
a(3) = 401 because 401 = 7^3 + 7^2 + 7 + 2 and 7 and 401 are prime.
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A164939.
Programs
-
Maple
f:= proc(p) local q; if not isprime(p) then return NULL fi; q:= p^3+p^2+p+2; if isprime(q) then return q fi end proc: map(f, [seq(i,i=3..1000,2)]);
Comments