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.
%I A107170 #19 Feb 10 2017 09:47:34 %S A107170 2,31,103,193,281,311,479,521,617,857,937,1063,1423,1489,1657,1831, %T A107170 1847,2543,2591,2609,2671,2711,2729,2753,2903,2953,3023,3089,3167, %U A107170 3319,3559,3697,3761,3769,3823,3863,4079,4111,4201,4561,4639,4903 %N A107170 Primes of the form 2x^2 + 31y^2. %C A107170 Discriminant = -248. See A107132 for more information. %H A107170 Vincenzo Librandi and Ray Chandler, <a href="/A107170/b107170.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi] %H A107170 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 A107170 QuadPrimes2[2, 0, 31, 10000] (* see A106856 *) %o A107170 (PARI) list(lim)=my(v=List(),w,t); for(x=0, sqrtint(lim\2), w=2*x^2; for(y=0, sqrtint((lim-w)\31), if(isprime(t=w+31*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 10 2017 %K A107170 nonn,easy %O A107170 1,1 %A A107170 _T. D. Noe_, May 13 2005