login
A088298
Values of 2x + y, where x^2 + xy + y^2=p (x<y) is a prime of the form 6n + 1 (=A002476).
6
4, 5, 7, 7, 10, 8, 13, 11, 10, 13, 14, 13, 17, 19, 16, 19, 14, 17, 19, 23, 17, 16, 23, 22, 17, 28, 26, 25, 19, 22, 31, 29, 23, 31, 25, 29, 34, 31, 22, 35, 28, 31, 23, 25, 32, 35, 29, 40, 31, 35, 26, 29, 37, 32, 43, 40, 38, 37, 41, 31, 44, 43, 37, 41, 29, 47, 31, 37, 47, 46, 35
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[2x + y /. s[[1]]]]]][[2, 1]] (* Jean-François Alcover, Mar 09 2020 *)
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Nov 03 2003
EXTENSIONS
More terms from Ray Chandler, Nov 04 2003
STATUS
approved