cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A107139 Primes of the form 2x^2 + 17y^2.

This page as a plain text file.
%I A107139 #18 Feb 09 2017 14:30:07
%S A107139 2,17,19,67,89,179,251,281,353,409,433,443,457,467,491,523,587,739,
%T A107139 883,937,953,1033,1171,1283,1307,1409,1427,1481,1483,1619,1699,1721,
%U A107139 1777,1801,1889,1993,2083,2089,2099,2129,2347,2467,2473,2609,2633
%N A107139 Primes of the form 2x^2 + 17y^2.
%C A107139 Discriminant = -136. See A107132 for more information.
%H A107139 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 A107139 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 A107139 QuadPrimes2[2, 0, 17, 10000] (* see A106856 *)
%o A107139 (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 A107139 nonn,easy
%O A107139 1,1
%A A107139 _T. D. Noe_, May 13 2005