(Let an integer triangle be a triangle with only integer side lengths) I have been trying to find all pairs $m$ and $n$ so that both
- The triangle with side lengths $m$ and $n$ with a $60$ degree angle in between,
- The triangle with side lengths $m$ and $n$ with a $120$ degree angle in between, are integer triangles.
Currently, I believe that there are none, although I cannot show it.
From Law of Cosines, we seek integers $a, b, m, n$ so that \begin{align*} m^2 + mn + n^2 = a^2 \\ m^2 - mn + n^2 = b^2 \end{align*} We can try solving for $m$ and $n$ by solving for $m^2 + n^2$ and $mn,$ then $m + n,$ and finally $m$ and $n$. We get $$m, n = \sqrt{\frac{3a^2 - b^2}{8}} \pm \sqrt{\frac{3b^2 - a^2}{8}}.$$ This means that we need $3a^2 - b^2$ and $3b^2 - a^2$ to be twice perfect squares. Then, I let them be $2x^2$ and $2y^2,$ and then continued to no avail.
I also made a python program that checked when $1 \leq m, n \leq 2000,$ which yielded no solutions, so there are probably no solutions in general.
I would prefer a solution that only uses basic number theory techniques (mods, basic algebra, etc.) although more advanced solutions are welcome too.