cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A216978 Numbers n such that n^6+2 is prime.

Original entry on oeis.org

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

Views

Author

Michel Lagneau, Sep 21 2012

Keywords

Comments

Except for the first term, all terms must be odd numbers. - Harvey P. Dale, Sep 23 2012

Crossrefs

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 */