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!)
A107140 Primes of the form 5x^2 + 7y^2. 2

%I #18 Feb 09 2017 14:33:28

%S 5,7,73,83,157,257,383,433,523,563,587,647,727,853,857,887,1013,1063,

%T 1097,1153,1237,1567,1613,1627,1697,1777,1847,2063,2203,2273,2393,

%U 2467,2707,2803,2887,2897,2917,3167,3407,3433,3643,3673,3727,3793

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

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

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

%o (PARI) list(lim)=my(v=List(),w,t); for(x=0, sqrtint(lim\5), w=5*x^2; for(y=0, sqrtint((lim-w)\7), if(isprime(t=w+7*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 09 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 March 28 20:05 EDT 2024. Contains 371254 sequences. (Running on oeis4.)