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.

A177105 Primes of the form 2*n^3-1.

Original entry on oeis.org

53, 127, 431, 1999, 8191, 18521, 27647, 31249, 59581, 78607, 159013, 194671, 314927, 332749, 390223, 453961, 524287, 657017, 1062881, 1457999, 1507141, 1608713, 1940597, 2519423, 3455999, 4000751, 4393999, 5371237, 5606441
Offset: 1

Views

Author

Keywords

Programs

  • Magma
    [a: n in [0..250] | IsPrime(a) where a is (2*n^3-1)];
    
  • Mathematica
    Select[Table[2 n^3 - 1, {n, 0, 300}], PrimeQ] (* Vincenzo Librandi, Jul 25 2012 *)
  • PARI
    for(n=0, 200, if(isprime(k=2*n^3-1), print1(k",  "))); \\ Vincenzo Librandi, Jul 25 2012

Formula

a(n) = 2*A214289(n)^3 -1. - R. J. Mathar, Aug 20 2019