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.

A097475 Numbers n such that n^12 - n^6 + 1 is prime.

Original entry on oeis.org

3, 7, 9, 10, 11, 14, 27, 30, 33, 37, 40, 51, 62, 71, 78, 80, 82, 95, 117, 125, 137, 142, 148, 157, 185, 189, 191, 197, 223, 232, 236, 252, 255, 265, 287, 321, 323, 324, 326, 332, 337, 341, 354, 369, 391, 414, 416, 418, 430, 487, 509, 545, 558, 563, 582, 588, 589
Offset: 1

Views

Author

Robert G. Wilson v, Sep 18 2004

Keywords

Programs

  • Magma
    [n: n in [0..700] | IsPrime(n^12-n^6+1)]; // Vincenzo Librandi, Jan 17 2015
    
  • Mathematica
    Select[ Range[ 1000], PrimeQ[ #^12 - #^6 + 1] &]
  • PARI
    is(n)=isprime(n^12-n^6+1) \\ Charles R Greathouse IV, Feb 17 2017