A216978 Numbers n such that n^6+2 is prime.
0, 1, 39, 51, 81, 195, 213, 219, 231, 333, 351, 393, 417, 501, 531, 567, 657, 729, 747, 807, 945, 1005, 1059, 1161, 1173, 1185, 1191, 1203, 1281, 1335, 1371, 1467, 1479, 1563, 1587, 1647, 1653, 1749, 1761, 1821, 1845, 1875, 1929, 2373, 2379, 2421, 2529, 2595
Offset: 1
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
lst={}; Do[If[PrimeQ[n^6+2], AppendTo[lst, n]], {n, 0, 3000}]; lst Join[{0},Select[Range[1,3001,2],PrimeQ[#^6+2]&]] (* Harvey P. Dale, Sep 23 2012 *)
-
PARI
select(n->isprime(n^6+2),vector(2000,n,n-1)) /* Joerg Arndt, Sep 21 2012 */
Comments