# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a107176 Showing 1-1 of 1 %I A107176 #19 Feb 10 2017 11:59:03 %S A107176 149,281,293,353,509,613,661,733,797,1097,1237,1361,1453,1709,2141, %T A107176 2293,2297,2473,2609,2617,2789,3221,3413,3557,3637,3673,4093,4129, %U A107176 4241,4297,4337,4421,4657,4793,5081,5101,5441,5557,5653,5669,5693 %N A107176 Primes of the form x^2 + 68y^2. %C A107176 Discriminant = -272. See A107132 for more information. %H A107176 Vincenzo Librandi and Ray Chandler, Table of n, a(n) for n = 1..10000 [First 1000 terms from Vincenzo Librandi] %H A107176 N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references) %t A107176 QuadPrimes2[1, 0, 68, 10000] (* see A106856 *) %o A107176 (PARI) list(lim)=my(v=List(),w,t); for(x=1, sqrtint(lim\1), w=x^2; for(y=1, sqrtint((lim-w)\68), if(isprime(t=w+68*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 10 2017 %K A107176 nonn,easy %O A107176 1,1 %A A107176 _T. D. Noe_, May 13 2005 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE