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.

A107192 Primes of the form x^2 + 80y^2.

This page as a plain text file.
%I A107192 #18 Feb 10 2017 14:40:46
%S A107192 89,401,521,761,769,809,1009,1049,1249,1289,1361,1409,1601,1721,2081,
%T A107192 2089,2441,2729,2801,3001,3049,3089,3121,3169,3329,3529,3881,3929,
%U A107192 4001,4049,4201,4289,4441,4561,4649,4729,5009,5081,5209,5281,5441
%N A107192 Primes of the form x^2 + 80y^2.
%C A107192 Discriminant = -320. See A107132 for more information.
%H A107192 Vincenzo Librandi and Ray Chandler, <a href="/A107192/b107192.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]
%H A107192 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 A107192 QuadPrimes2[1, 0, 80, 10000] (* see A106856 *)
%o A107192 (PARI) list(lim)=my(v=List(),w,t); for(x=1, sqrtint(lim\1), w=x^2; for(y=1, sqrtint((lim-w)\80), if(isprime(t=w+80*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 10 2017
%K A107192 nonn,easy
%O A107192 1,1
%A A107192 _T. D. Noe_, May 13 2005