cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A201477 Primes of the form 3n^2 + 4.

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