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.

A107156 Primes of the form 2x^2 + 25y^2.

This page as a plain text file.
%I A107156 #18 Feb 09 2017 15:05:00
%S A107156 2,43,97,227,233,257,313,353,467,563,617,643,673,787,907,947,1193,
%T A107156 1283,1297,1483,1777,1873,1907,2027,2083,2153,2203,2267,2273,2377,
%U A107156 2417,2617,2683,2803,2963,3067,3083,3187,3217,3313,3593,3673,3907
%N A107156 Primes of the form 2x^2 + 25y^2.
%C A107156 Discriminant = -200. See A107132 for more information.
%H A107156 Vincenzo Librandi and Ray Chandler, <a href="/A107156/b107156.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]
%H A107156 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 A107156 QuadPrimes2[2, 0, 25, 10000] (* see A106856 *)
%o A107156 (PARI) list(lim)=my(v=List(),w,t); for(x=1, sqrtint(lim\2), w=2*x^2; for(y=0, sqrtint((lim-w)\25), if(isprime(t=w+25*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 09 2017
%K A107156 nonn,easy
%O A107156 1,1
%A A107156 _T. D. Noe_, May 13 2005