This theorem was first conjectured by Pierre de Fermat in 1637 in the margin of a copy of Arithmetica, where he claimed that he had a proof that was too large to fit in the margin.
Dǎɣ awa-d-eqqalǎn isalǎn wi-n-ǎlxisab fǎl aritmetik wǎr atwasǎn asəkkən ən asədətu mashan ɣor tizzarǎt kul, dǎɣ awatay wan 1637, Pierre de Fermat assəkna tamatert maqqarǎt fǎl isalǎn ən a-wen.