|
|
A088243
|
|
Values of x + y, where x^2 + xy + y^2=p (x<y) is a prime of the form 6n + 1 (=A002476).
|
|
6
|
|
|
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, 19, 19, 18, 19, 21, 21, 20, 22, 21, 22, 23, 23, 21, 24, 23, 24, 22, 23, 25, 26, 25, 27, 26, 27, 25, 26, 28, 27, 29, 29, 29, 29, 30, 28, 31, 31, 30, 31, 28, 32, 29, 31, 33, 33, 31, 33
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
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 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|