A180276 Primes of the form n^3 + 3*n - 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
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
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
Comments