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.

A139656 Primes of the form x^2 + 312*y^2.

This page as a plain text file.
%I A139656 #22 Sep 08 2022 08:45:33
%S A139656 313,337,433,601,673,937,1153,1249,1297,1609,1777,1873,1993,2089,2161,
%T A139656 2473,2521,2617,2713,2833,2857,3121,3169,3433,3457,3769,3793,4057,
%U A139656 4177,4273,4657,4729,4801,4969,4993,5113,5209,5281,5521,5641,5737
%N A139656 Primes of the form x^2 + 312*y^2.
%C A139656 Discriminant=-1248. See A139643 for more information.
%C A139656 The primes are congruent to {1, 25, 49, 121, 217, 289} (mod 312).
%H A139656 Vincenzo Librandi and Ray Chandler, <a href="/A139656/b139656.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms from Vincenzo Librandi).
%H A139656 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 A139656 QuadPrimes2[1, 0, 312, 10000] (* see A106856 *)
%o A139656 (Magma) [ p: p in PrimesUpTo(7000) | p mod 312 in {1, 25, 49, 121, 217, 289}]; // _Vincenzo Librandi_, Jul 29 2012
%o A139656 (Magma) k:=312; [p: p in PrimesUpTo(6000) | NormEquation(k, p) eq true]; // _Bruno Berselli_, Jun 01 2016
%K A139656 nonn,easy
%O A139656 1,1
%A A139656 _T. D. Noe_, Apr 29 2008