No three distinct positive integers $a, b, c$ can satisfy the equation : $a^n + b^n=c^n$, if $n$ is an integer greater than two.
The above statement, known as the Fermat's last theorem is proven with rigorous mathematics. I happened to stumble on one particular statement:
Proofs were eventually found for all values of $n$ up to around $4$ million, first by hand, and later by computer.
What I understand is, somehow a computer program assured the theorem was correct upto some value of $n$.
Let us simplify and only stick to $n=3$ (the smallest possible value of $n$). Now my question is, how do I write a program that can ensure that there is no integer solution for $a,b,c$? A complete program is not required, rather some discussion (preferably in pseudocode format) would be appreciated.