login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A107195 Primes of the form 7x^2 + 12y^2. 2

%I #18 Feb 10 2017 14:42:10

%S 7,19,199,223,283,307,367,439,607,643,859,1039,1231,1279,1291,1459,

%T 1483,1543,1627,1951,2131,2203,2371,2383,2539,2707,2719,2791,3079,

%U 3499,3547,3643,3727,3919,4003,4051,4231,4339,4423,4483,4507,4567

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

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

%H Vincenzo Librandi and Ray Chandler, <a href="/A107195/b107195.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[7, 0, 12, 10000] (* see A106856 *)

%o (PARI) list(lim)=my(v=List(),w,t); for(x=1, sqrtint(lim\7), w=7*x^2; for(y=0, sqrtint((lim-w)\12), if(isprime(t=w+12*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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)