login
A088241
Values of y, where x^2 + xy + y^2=p (x<y) is a prime of the form 6n + 1 (=A002476).
6
2, 3, 3, 5, 4, 6, 5, 7, 8, 7, 8, 9, 7, 7, 10, 9, 12, 11, 11, 9, 13, 14, 11, 12, 15, 10, 12, 13, 17, 16, 11, 13, 17, 13, 17, 15, 12, 15, 20, 13, 18, 17, 21, 21, 18, 17, 21, 14, 21, 19, 24, 23, 19, 22, 15, 18, 20, 21, 19, 25, 18, 19, 23, 21, 27, 17, 27, 25, 19, 20, 27, 23, 28, 21, 26
OFFSET
1,1
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[y /. s[[1]]]]]][[2, 1]] (* Jean-François Alcover, Mar 07 2020 *)
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Nov 03 2003
EXTENSIONS
More terms from Ray Chandler, Nov 04 2003
STATUS
approved