%I #15 Sep 08 2022 08:46:01
%S 7,31,79,151,367,1087,1327,1879,2887,3271,4111,4567,6079,7207,8431,
%T 15991,16879,17791,19687,23767,24847,25951,34351,39679,42487,49927,
%U 51487,54679,56311,63079,73951,102679,104911,111751,123631,126079,128551
%N Primes of the form 3n^2 + 4.
%C Equivalently, generalized cuban primes of the form (x^3-y^3)/(x-y) with x=y+4 (cf. A002407, A007645). - _N. J. A. Sloane_, Jan 29 2013
%H Vincenzo Librandi, <a href="/A201477/b201477.txt">Table of n, a(n) for n = 1..5000</a>
%F a(n) = 4 + 3*A111052(n)^2. - _Zak Seidov_, Feb 04 2016
%t Select[Table[3n^2+4,{n,0,700}],PrimeQ]
%o (Magma) [a: n in [0..400] | IsPrime(a) where a is 3*n^2+4];
%o (PARI) lista(nn) = {for (n=0, nn, if (isprime(p=3*n^2 + 4), print1(p, ", ")););} \\ _Michel Marcus_, Feb 04 2016
%Y Cf. A002407. A subsequence of A007645. - _N. J. A. Sloane_, Jan 29 2013
%Y Cf. A111052 (corresponding values of n). - _Zak Seidov_, Feb 04 2016
%K nonn,easy
%O 1,1
%A _Vincenzo Librandi_, Dec 02 2011