login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A177105
Primes of the form 2*n^3-1.
2
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,1
LINKS
FORMULA
a(n) = 2*A214289(n)^3 -1. - R. J. Mathar, Aug 20 2019
MATHEMATICA
Select[Table[2 n^3 - 1, {n, 0, 300}], PrimeQ] (* Vincenzo Librandi, Jul 25 2012 *)
PROG
(Magma) [a: n in [0..250] | IsPrime(a) where a is (2*n^3-1)];
(PARI) for(n=0, 200, if(isprime(k=2*n^3-1), print1(k", "))); \\ Vincenzo Librandi, Jul 25 2012
CROSSREFS
Sequence in context: A239124 A254210 A142125 * A246933 A142167 A323590
KEYWORD
nonn,easy
STATUS
approved