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.

A107218 Primes of the form 4x^2 + 25y^2.

This page as a plain text file.
%I A107218 #18 Feb 10 2017 16:23:15
%S A107218 29,41,61,89,229,241,281,349,421,509,601,641,661,701,709,769,809,821,
%T A107218 881,1009,1049,1109,1181,1201,1229,1249,1289,1301,1321,1381,1409,1481,
%U A107218 1549,1669,1709,1789,1801,1901,2029,2069,2089,2141,2161,2221,2281
%N A107218 Primes of the form 4x^2 + 25y^2.
%C A107218 Discriminant = -400. See A107132 for more information.
%H A107218 Vincenzo Librandi and Ray Chandler, <a href="/A107218/b107218.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]
%H A107218 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 A107218 QuadPrimes2[4, 0, 25, 10000] (* see A106856 *)
%o A107218 (PARI) list(lim)=my(v=List(),w,t); for(x=1, sqrtint(lim\4), w=4*x^2; for(y=1, sqrtint((lim-w)\25), if(isprime(t=w+25*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 10 2017
%K A107218 nonn,easy
%O A107218 1,1
%A A107218 _T. D. Noe_, May 13 2005