[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes of the form x^2 + 75y^2.
2

%I #18 Feb 10 2017 14:26:15

%S 79,139,271,331,349,421,661,691,739,751,829,859,1201,1231,1249,1321,

%T 1459,1489,1669,1699,1831,1879,2011,2131,2161,2551,2659,2749,2791,

%U 3049,3061,3109,3229,3319,3541,3691,3739,3919,3931,4021,4159,4519

%N Primes of the form x^2 + 75y^2.

%C Discriminant = -300. See A107132 for more information.

%H Vincenzo Librandi and Ray Chandler, <a href="/A107184/b107184.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]

%H N. J. A. Sloane et al., <a href="https://oeis.org/wiki/Binary_Quadratic_Forms_and_OEIS">Binary Quadratic Forms and OEIS</a> (Index to related sequences, programs, references)

%t QuadPrimes2[1, 0, 75, 10000] (* see A106856 *)

%o (PARI) list(lim)=my(v=List(),w,t); for(x=1, sqrtint(lim\1), w=x^2; for(y=1, sqrtint((lim-w)\75), if(isprime(t=w+75*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 10 2017

%K nonn,easy

%O 1,1

%A _T. D. Noe_, May 13 2005