login
Primes of the form 7n^3+4.
1

%I #9 Sep 08 2022 08:46:01

%S 11,193,5107,15383,23629,48017,109379,823547,928561,1164629,2953129,

%T 5630503,9065207,17222629,25071043,28137757,31444879,60305879,

%U 65757521,67645183,79734379,90845129,108067747,113359943,142424923,152023477

%N Primes of the form 7n^3+4.

%H Vincenzo Librandi, <a href="/A201185/b201185.txt">Table of n, a(n) for n = 1..2000</a>

%p A201185:=n->`if`(isprime(7*n^3+4), 7*n^3+4, NULL): seq(A201185(n), n=1..500); # _Wesley Ivan Hurt_, Apr 23 2017

%t Select[Table[7n^3+4,{n,0,6000}],PrimeQ]

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

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Nov 29 2011