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.

A073574 Numbers n such that n^3 + 6 is prime.

Original entry on oeis.org

1, 5, 7, 13, 17, 41, 73, 77, 101, 103, 133, 143, 145, 161, 173, 181, 187, 251, 271, 283, 293, 313, 325, 391, 395, 425, 461, 497, 503, 511, 523, 581, 593, 595, 647, 671, 703, 733, 745, 803, 805, 815, 833, 847, 853, 875, 941, 965, 973, 997, 1001, 1021, 1085, 1091, 1097, 1111, 1141, 1183
Offset: 1

Views

Author

Zak Seidov, Sep 01 2002

Keywords

Crossrefs

Cf. A067200 (n^3+2 is prime).

Programs

  • Magma
    [n: n in [0..1500]|IsPrime(n^3+6)]; // Vincenzo Librandi, Dec 16 2010
    
  • Mathematica
    Select[ Range[ 950 ], PrimeQ[ #^3+6 ] & ]
    Select[Range[1,1201,2],PrimeQ[#^3+6]&] (* Because all terms must be odd, there is no need to test even numbers *) (* Harvey P. Dale, Oct 03 2018 *)
  • PARI
    is(n)=isprime(n^3+6) \\ Charles R Greathouse IV, Jun 12 2017

Extensions

More terms from Vincenzo Librandi, Dec 16 2010