I want to know how many solutions $x^2-xy+y^2=n$ depending on n. I know that it is a norm in ring of Eisenstein integers and so I should find how many integers have norm n. Also I know that this number is finite and is equal to $6k$ $k\in\mathbb{Z}$
Asked
Active
Viewed 140 times
2
-
2See this question together with this question. . This answers the question. So, for example, how many solutions do we have for $n=5$? – Dietrich Burde Mar 17 '19 at 11:25
-
It seems that there are no solutions – Mar 17 '19 at 11:35
-
The OEIS sequence A004016 enumerates the solutions. The entry has much information you may want to know and use. – Somos Mar 17 '19 at 12:05