I think what Fermat Theorem says is except n=2 , you will not find any value of n to hold equation a^n+b^n=c^n is true.
So as long as n>2 , you will not find values a,b, and c to hold that equation true.
So you can't assume square triangle or any thing your answer only valid when n=2