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.

A107194 Primes of the form 2x^2 + 41y^2.

This page as a plain text file.
%I A107194 #18 Feb 10 2017 14:41:25
%S A107194 2,41,43,59,73,113,139,241,283,379,401,419,433,467,491,569,619,761,
%T A107194 881,947,1009,1033,1091,1097,1123,1153,1187,1193,1291,1427,1499,1609,
%U A107194 1619,1721,1723,1747,1907,1993,2011,2017,2027,2081,2083,2089,2137
%N A107194 Primes of the form 2x^2 + 41y^2.
%C A107194 Discriminant = -328. See A107132 for more information.
%H A107194 Vincenzo Librandi and Ray Chandler, <a href="/A107194/b107194.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]
%H A107194 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 A107194 QuadPrimes2[2, 0, 41, 10000] (* see A106856 *)
%o A107194 (PARI) list(lim)=my(v=List(),w,t); for(x=0, sqrtint(lim\2), w=2*x^2; for(y=0, sqrtint((lim-w)\41), if(isprime(t=w+41*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 10 2017
%K A107194 nonn,easy
%O A107194 1,1
%A A107194 _T. D. Noe_, May 13 2005