$ 4a^2+b^2=2c^2$ where $ a$ , $ b$ and $ c$ are positive integers. I have to find all primitive triplets such that $ c \le N$ . $ N$ can be as high as $ 10^7$ . Can we get a tree like solutions like that of Pythagorean triplets, which efficiently generate only theRead more