login
Primes of the form 7n^3-1.
1

%I #12 Sep 08 2022 08:46:00

%S 1511,3583,19207,40823,123031,188999,774143,1229311,1511999,2012471,

%T 3583999,4148927,4452391,6588343,7874047,10370807,14002631,14680063,

%U 34390999,40823999,45043991,82966463,89690327,114709447,150394663

%N Primes of the form 7n^3-1.

%H Vincenzo Librandi, <a href="/A200915/b200915.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Table[7n^3-1,{n,1,3500}],PrimeQ]

%o (Magma) [a: n in [1..400] | IsPrime(a) where a is 7*n^3-1]

%o (PARI) for(n=1,1e3,if(isprime(t=7*n^3-1),print1(t", "))) \\ _Charles R Greathouse IV_, Nov 24 2011

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Nov 24 2011