Show that there is no right triangle whose legs are rational numbers and whose hypotenuse is $\sqrt{2022}$. My tries:
- I used Pythagoras' Theorem to get: $$\sqrt{2022}^2=a^2+b^2 \implies a^2+b^2 = 2022$$ where $a$ and $b$ are the legs of the triangle. I don't know what to do next: Is there another formula I could use? I know that $a+b>\sqrt{2022}$ but I don't think this is going to help us much.
hope one of you can help me! thank you!