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

%I #18 Feb 09 2017 14:30:07

%S 2,17,19,67,89,179,251,281,353,409,433,443,457,467,491,523,587,739,

%T 883,937,953,1033,1171,1283,1307,1409,1427,1481,1483,1619,1699,1721,

%U 1777,1801,1889,1993,2083,2089,2099,2129,2347,2467,2473,2609,2633

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

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

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

%o (PARI) list(lim)=my(v=List(),w,t); for(x=0, sqrtint(lim\2), w=2*x^2; for(y=0, sqrtint((lim-w)\17), if(isprime(t=w+17*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 April 18 08:27 EDT 2024. Contains 371769 sequences. (Running on oeis4.)