OFFSET
1,1
COMMENTS
a(n) is a subset of A007490(n) = {3, 17, 29, 43, 73, 127, 179, 197, 251, 277, ...}, i.e., primes of the form x^3 + y^3 + z^3.
EXAMPLE
a(1) = 43 because 43 = 2^3 + 2^3 + 3^3 is prime and 2^3 + 2^3 + 2^3 = 24 is composite.
MATHEMATICA
lst={}; Do[Do[Do[p=n^3+m^3+k^3; If[PrimeQ[p]&&PrimeQ[n]&&PrimeQ[m]&&PrimeQ[k], AppendTo[lst, p]], {n, 4!}], {m, 4!}], {k, 4!}]; Take[Union[lst], 16] (* Vladimir Joseph Stephan Orlovsky, May 23 2009 *)
With[{nn=40}, Select[Total/@Tuples[Prime[Range[nn]]^3, 3], PrimeQ[#]&&#<= nn^3+ 16&]]//Union (* Harvey P. Dale, Sep 08 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Nov 14 2006
STATUS
approved