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.

A107164 Primes of the form x^2 + 56y^2.

This page as a plain text file.
%I A107164 #18 Feb 09 2017 17:26:16
%S A107164 137,233,281,449,673,953,977,1033,1129,1409,1481,1873,2017,2081,2129,
%T A107164 2137,2377,2417,2657,2713,2753,2857,2969,3313,3529,3593,3697,3833,
%U A107164 4001,4561,4649,4657,4673,4729,4817,4993,5657,5737,5849,6217,6329
%N A107164 Primes of the form x^2 + 56y^2.
%C A107164 Discriminant = -224. See A107132 for more information.
%H A107164 Vincenzo Librandi and Ray Chandler, <a href="/A107164/b107164.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]
%H A107164 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 A107164 QuadPrimes2[1, 0, 56, 10000] (* see A106856 *)
%o A107164 (PARI) list(lim)=my(v=List(),w,t); for(x=1, sqrtint(lim\1), w=x^2; for(y=1, sqrtint((lim-w)\56), if(isprime(t=w+56*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 09 2017
%K A107164 nonn,easy
%O A107164 1,1
%A A107164 _T. D. Noe_, May 13 2005