HC Technologies interview question

Write an algorithm to prove and display Fermat's Last Theorem.