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.

A088243 Values of x + y, where x^2 + xy + y^2=p (x is a prime of the form 6n + 1 (=A002476).

This page as a plain text file.
%I A088243 #10 Mar 07 2020 07:58:28
%S A088243 3,4,5,6,7,7,9,9,9,10,11,11,12,13,13,14,13,14,15,16,15,15,17,17,16,19,
%T A088243 19,19,18,19,21,21,20,22,21,22,23,23,21,24,23,24,22,23,25,26,25,27,26,
%U A088243 27,25,26,28,27,29,29,29,29,30,28,31,31,30,31,28,32,29,31,33,33,31,33
%N A088243 Values of x + y, where x^2 + xy + y^2=p (x<y) is a prime of the form 6n + 1 (=A002476).
%t A088243 Reap[For[n = 1, n <= 200, n++, If[PrimeQ[p = 6 n + 1], s = Solve[x^2 + x y + y^2 == p && 0 < x < y, {x, y}, Integers]; Sow[x + y /. s[[1]]]]]][[2, 1]] (* _Jean-François Alcover_, Mar 07 2020 *)
%Y A088243 Cf. A002476, A088241, A088242, A088296, A088298, A088299, A088977.
%K A088243 nonn
%O A088243 1,1
%A A088243 _Lekraj Beedassy_, Nov 03 2003
%E A088243 More terms from _Ray Chandler_, Nov 04 2003