OFFSET
1,1
COMMENTS
Similar to A259772 where the condition is p and p^3 + q^2 + r both prime.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1) = 31 is prime and 31 + 37^2 + 41^3 = 70321 is prime too.
a(2) = 71 is prime and 71 + 73^2 + 79^3 = 498439 is prime too.
MAPLE
select(n->isprime(n) and isprime(n+nextprime(n)^2+nextprime(nextprime(n))^3), [$1..2500]);
MATHEMATICA
Select[Partition[Prime@ Range@ 400, 3, 1], PrimeQ[#1 + #2^2 + #3^3] & @@ # &][[All, 1]] (* Michael De Vlieger, May 27 2018 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paolo P. Lava, May 15 2018
STATUS
approved