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.

A107149 Primes of the form 4x^2 + 11y^2.

This page as a plain text file.
%I A107149 #18 Feb 09 2017 14:52:40
%S A107149 11,47,103,163,199,311,419,499,587,599,683,863,883,907,911,991,1087,
%T A107149 1123,1291,1307,1367,1439,1543,1567,1571,1699,1907,2003,2039,2539,
%U A107149 2579,2671,2731,2803,2843,2927,3191,3259,3323,3391,3463,3499,3623
%N A107149 Primes of the form 4x^2 + 11y^2.
%C A107149 Discriminant = -176. See A107132 for more information.
%H A107149 Vincenzo Librandi and Ray Chandler, <a href="/A107149/b107149.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]
%H A107149 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 A107149 QuadPrimes2[4, 0, 11, 10000] (* see A106856 *)
%o A107149 (PARI) list(lim)=my(v=List(),w,t); for(x=0, sqrtint(lim\4), w=4*x^2; for(y=1, sqrtint((lim-w)\11), if(isprime(t=w+11*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 09 2017
%K A107149 nonn,easy
%O A107149 1,1
%A A107149 _T. D. Noe_, May 13 2005