@Charles Link, given that ##a\geq1,b\geq1##, you can solve your formula ##(a+2b)^2=3(4x^2-a^2)## to get ##x=\sqrt{a^{2}+ab+b^{2}}/\sqrt{3}\,##. I thought it might be fun to write a couple of lines of Mathematica code to step through the integers ##1\leq a\leq100,a\leq b\leq100## and list all...