%I #14 Nov 23 2012 18:33:09
%S 2,3,17,29,43,127,251,277,359,593,857,1051,1367,1459,1753,2213,2447,
%T 3221,3391,4421,4519,7109,7883,8219,8317,9277,9511,15641,16561,16649,
%U 18523,19699,19853,20359,20707,20719,24077,24391,24517,24677,30689,31193,31277,34147
%N Primes of the form x^3 + 2*y^3, with nonnegative x and y.
%H D. R. Heath-Brown, <a href="http://link.springer.com/content/pdf/10.1007%2FBF02392715">Primes represented by x^3+2*y^3</a>, Acta Mathematica 2001, Volume 186, Issue 1, pp 1-84.
%e 43 is in the sequence since 43 is prime and 43 = 3^3 + 2*2^3.
%o (PARI) okprime(n) = {for (i=0, floor(sqrtn(n, 3)), d = n - i^3; if (d % 2 == 0, y = sqrtn(d/2, 3); if (y == floor(y), write("hb.log", n, " = ", i, "^3 + 2*", floor(y), "^3");return(1););););return (0);}
%K nonn
%O 1,1
%A _Michel Marcus_, Nov 23 2012
|