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.

A180276 Primes of the form n^3 + 3*n - 1.

Original entry on oeis.org

3, 13, 139, 233, 8059, 9323, 19763, 42979, 103963, 125149, 175783, 185363, 216179, 373463, 422099, 456763, 636313, 729269, 778963, 885023, 1061513, 1331329, 1367963, 1561243, 2000753, 2744419, 3724339, 4657963, 6435413, 6968443
Offset: 1

Views

Author

Graziano Aglietti (mg5055(AT)mclink.it), Aug 23 2010

Keywords

Comments

Subsequence of primes in the sequence defined as b(n) = n^3 + 3*n - 1 = 3, 13, 35, 75, 139, 233, 363, 535, ... = A079908(n) - 1.

Programs

  • Magma
    [ a: n in [0..250] | IsPrime(a) where a is (n^3+3*n-1)]; // Vincenzo Librandi, Jan 30 2011
  • Mathematica
    Select[Table[n^3+3n-1,{n,200}],PrimeQ] (* Harvey P. Dale, Sep 08 2024 *)
  • PARI
    a(n)=n^3+3*n-1;
    for(i=0,10^3,if(isprime(a(i)),print1(a(i), ", ")))
    

Extensions

Offset set to 1 by R. J. Mathar, Aug 25 2010