login
A180276
Primes of the form n^3 + 3*n - 1.
1
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,1
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.
LINKS
MATHEMATICA
Select[Table[n^3+3n-1, {n, 200}], PrimeQ] (* Harvey P. Dale, Sep 08 2024 *)
PROG
(PARI) a(n)=n^3+3*n-1;
for(i=0, 10^3, if(isprime(a(i)), print1(a(i), ", ")))
(Magma) [ a: n in [0..250] | IsPrime(a) where a is (n^3+3*n-1)]; // Vincenzo Librandi, Jan 30 2011
CROSSREFS
Sequence in context: A208590 A228648 A161677 * A054933 A130589 A041591
KEYWORD
nonn
AUTHOR
Graziano Aglietti (mg5055(AT)mclink.it), Aug 23 2010
EXTENSIONS
Offset set to 1 by R. J. Mathar, Aug 25 2010
STATUS
approved