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.

A107217 Primes of the form x^2 + 99y^2.

This page as a plain text file.
%I A107217 #18 Feb 10 2017 16:22:59
%S A107217 103,163,199,397,421,499,757,883,907,991,1021,1087,1123,1237,1291,
%T A107217 1543,1567,1609,1621,1699,1753,1873,2113,2539,2671,2731,2797,2803,
%U A107217 2953,3259,3391,3433,3463,3499,3613,3631,3733,3793,3853,3877,3919
%N A107217 Primes of the form x^2 + 99y^2.
%C A107217 Discriminant = -396. See A107132 for more information.
%H A107217 Vincenzo Librandi and Ray Chandler, <a href="/A107217/b107217.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]
%H A107217 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 A107217 QuadPrimes2[1, 0, 99, 10000] (* see A106856 *)
%o A107217 (PARI) list(lim)=my(v=List(),w,t); for(x=1, sqrtint(lim\1), w=x^2; for(y=1, sqrtint((lim-w)\99), if(isprime(t=w+99*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 10 2017
%K A107217 nonn,easy
%O A107217 1,1
%A A107217 _T. D. Noe_, May 13 2005