The proposition was first stated as a theorem by Pierre de Fermat around 1637 in the margin of a copy of Arithmetica Fermat added that he had a proof that was too large to fit in the margin. The cases n = 1 and n = 2 have been known since antiquity to have infinitely many solutions.
In number theory, Fermat's Last Theorem (sometimes called Fermat's conjecture, especially in older texts) states that no three positive integers a, b, and c satisfy the equation a n + b n = c n for any integer value of n greater than 2.