[Solved] consider x^i+y^i=z^i, x


There is a popular math theorem – Fermat’s Great (Last) Theorem – that states for any integer n > 2 there does not exist non-zero integers a, b, c such that a^n + b^n = c^n.

2

solved consider x^i+y^i=z^i, x<=y<=z<=m and 2<=i<=n (m and n are inputs) m can vary from 5 to 100 n can vary from 2 to 100