Preprint
Article

A Note on Fermat’s Last Theorem

This version is not peer-reviewed.

Submitted:

12 August 2024

Posted:

13 August 2024

Read the latest preprint version here

Abstract
Around $1637$, Pierre de Fermat famously scribbled, and claimed to have a proof for, his statement that equation $a^{n} + b^{n} = c^{n}$ has no positive integer solutions for exponents $n>2$. The theorem stood unproven for centuries until Andrew Wiles' groundbreaking work in $1994$, with a notable caveat: Wiles' proof, while successful, relied on modern tools far beyond Fermat's claimed approach in terms of complexity. The present work potentially offers a solution which is closer in spirit to Fermat's original idea.
Keywords: 
Subject: 
Computer Science and Mathematics  -   Algebra and Number Theory

1. Introduction

Fermat’s Last Theorem, first stated by its namesake Pierre de Fermat in the 17 th century, it claims that there are no positive integer solutions to the equation a n + b n = c n , whenever n N is greater than 2. In a margin note left on his copy of Diophantus’ Arithmetica, Fermat claimed that he had a proof which the margin was too small to contain [1]. Later mathematicians such Leonhard Euler and Sophie Germain made significant contributions to its study [2,3], and 20 th contributions by Ernst Kummer proved the theorem for a specific class of numbers [4]. However, a complete solution remained out of reach.
Finally, in 1994, British mathematician Andrew Wiles announced a proof for Fermat’s Last Theorem. His work was complex and multifaceted, drawing on advance topics of mathematics such as elliptic curves, which were beyond the prevalent purview of knowledge during Fermat’s time. After some initial errors were addressed, Wiles’ work was hailed as the long-awaited proof of the Theorem [5] and described as a “stunning advance” in the citation for Wiles’s Abel Prize award in 2016. It also proved much of the Taniyama-Shimura conjecture, subsequently known as the modularity theorem, and opened up entire new approaches to numerous other problems and mathematically powerful modularity lifting techniques [6]. The techniques used by Wiles are ostensibly far from Fermat’s claimed proof in terms of extension, complexity and novelty of tools used−many of which were only available during the 20 th century.
In this article, we present what we contend is a correct and short proof for Fermat’s Last Theorem. The degree of actual closeness it might have with Fermat’s own can only be speculated upon, but in our view simplicity was of paramount importance and we have deliberately eschewed techniques and results that were not available in the 17 th century. The techniques developed here show promise for application to similar Diophantine equations and other problems in Number Theory such as the Beal conjecture, a well-known generalization of Fermat’s Last Theorem [7].

2. Background and Ancillary Results

As usual, d n stands for integer d divides integer n; and we denote by gcd ( a , b ) , the greatest common divisor of a , b [8].
Proposition 1
([9]). Let a , b , c N greater than 1. If a , b are coprime ( i . e . gcd ( a , b ) = 1 ) and a = b · c , then a c .
Proposition 2
([9]). Fermat’s little theorem states that if p is a prime number, then for any integer a, the following condition p a p a holds. In addition, if p does not divide a, then p a p 1 1 holds as well.
Proposition 3.
If n is a positive integer, then
x n y n = ( x y ) · k = 0 n 1 x k · y n 1 k .
Proof.
( x y ) · k = 0 n 1 x k · y n 1 k = k = 0 n 1 x k + 1 · y n 1 k k = 0 n 1 x k · y n k = x n + k = 1 n 1 x k · y n k k = 1 n 1 x k · y n k y n = x n y n .

3. Main Result

Theorem 1.
The statement of Fermat’s Last Theorem is true.
Proof. 
We will proceed by contradiction. Aside from the fact that case n = 4 was proven to have no solutions by Fermat himself, further simplifying assumptions at our disposal are:
  • the consideration of an odd prime p as the selected exponent;
  • the coprimality of a , b , c ;
  • and the condition a , b , c > 1 on account of Catalan’s conjecture, proven by Mihăilescu in [10].
Therefore, the Diophantine equation whose positive integer solvability constitutes our hypothesis is, for a given fixed prime p > 2 ,
a p + b p = c p , where a , b , c > 1 and a , b , c N are pairwise coprime .
Assume such a , b , c exist.
Case 1:
Suppose that a , b , c are pairwise coprime with p. Using the Proposition 2 we notice that
p c p b p ( c b ) p a p ( c b ) .
First we start with an equivalent expression of (1)
a p = c p b p .
Substituting x = c , y = b and using that p is odd,
c p b p = ( c b ) · k = 0 p 1 c k · b p 1 k = a p
by Proposition 3. That is equivalent to
( c b ) · k = 0 p 1 c k · b p 1 k = ( c b ) · 1 1 + k = 0 p 1 c k · b p 1 k = ( c b ) + ( c b ) · 1 + k = 0 p 1 c k · b p 1 k .
So, we would have
( c b ) · 1 + k = 0 p 1 c k · b p 1 k = a p ( c b )
from (3). If the prime number p divides ( c b ) , then p a p and thus, a is divisible by p. If p does not divide a, then this implies
p 1 + k = 0 p 1 c k · b p 1 k
according to Proposition 1 and properties of (2). However, we can see that
1 + k = 0 p 1 c k · b p 1 k = c p 1 1 + b · k = 0 p 2 c k · b p 2 k = b p 1 1 + c · k = 0 p 2 c k · b p 2 k .
We know that
p c p 1 1 , p b p 1 1
by Proposition 2 since p and c , b are pairwise coprime. Consequently, we obtain that ( p k = 0 p 2 c k · b p 2 k ) or ( p c or p b ) by Proposition 1. It is not possible that ( p c or p b ) whenever p and c , b are pairwise coprime and therefore, it would be necessary that ( p k = 0 p 2 c k · b p 2 k ). In virtue of (3), we would have
( c b ) · k = 0 p 1 c k · b p 1 k = ( c b ) · c p 1 + b p 1 + k = 0 p 2 c k · b p 2 k = ( c b ) · 2 + c p 1 1 + b p 1 1 + k = 0 p 2 c k · b p 2 k
which is
( c b ) + ( c b ) · c p 1 1 + b p 1 1 + k = 0 p 2 c k · b p 2 k = a p ( c b ) .
By Proposition 2 and (2), we can further deduce that a is divisible by p because p would divide ( c b ) when:
p Y , Y = a p ( c b )
p X , X = ( c p 1 1 + b p 1 1 ) + k = 0 p 2 c k · b p 2 k
p ( c b ) , Y = ( c b ) + ( c b ) · X .
Since a , b , c are pairwise coprime with p, we reach a contradiction.
Case 2:
Suppose that b , c are pairwise coprime with p and a is divisible by p. By Proposition 2, we can see that
p a p + b p ( a + b ) p c p ( a + b ) .
Substituting x = a , y = b and using that p is odd,
a p + b p = ( a + b ) · k = 0 p 1 a k · ( b ) p 1 k = c p
by Proposition 3. That would be
( a + b ) · k = 0 p 1 a k · ( b ) p 1 k = ( a + b ) · 1 1 + k = 0 p 1 a k · ( b ) p 1 k = ( a + b ) + ( a + b ) · 1 + k = 0 p 1 a k · ( b ) p 1 k .
After that, we check
( a + b ) · 1 + k = 0 p 1 a k · ( b ) p 1 k = c p ( a + b )
from (8). If the prime number p divides ( a + b ) , then p c p and thus, c is divisible by p. If p does not divide c, then this implies
p 1 + k = 0 p 1 a k · ( b ) p 1 k
according to Proposition 1 and properties of (7). Nevertheless, we can see that
1 + k = 0 p 1 a k · ( b ) p 1 k = b p 1 1 + a p 1 + k = 0 p 2 a k · ( b ) p 2 k .
We know that
p a p 1 , p b p 1 1
by Proposition 2 since p a and p and b are pairwise coprime. Consequently, we obtain that
p k = 0 p 2 a k · ( b ) p 2 k .
Hence, it is enough to show that
k = 0 p 2 a k · ( b ) p 2 k = b p 2 + a · m
for m Z . Since p a · m , then we can further deduce that b is divisible by p due to p b p 2 . Since b , c are pairwise coprime with p, we reach a contradiction.
Case 3:
Suppose that a , c are pairwise coprime with p and b is divisible by p. Following the same steps as the above case mutatis mutandis, and exploiting the symmetry of the left-hand side of (1) with respect to a and b, we get another contradiction after of applying the same arguments to the value of b instead of choosing the number a as a multiple of p.
Case 4:
Suppose that a , b are pairwise coprime with p and c is divisible by p. Same as Case 3.
Case 5:
Finally, we arrive at the following conclusion: Natural numbers a , b , c share p as a common prime factor. However, this poses a contradiction with the pairwise coprimality of a , b , c N assumed from the outset in (1).
Thus our original assumption that (1) had positive integer solutions for prime p > 2 has led to a final contradiction. □

4. Conclusion

This paper presents a new and concise proof of Fermat’s Last Theorem. We have shown that the equation:
a n + b n = c n ,
has no positive integer solutions for any natural numbers a , b , c and any integer exponent n greater than 2. This accomplishment contributes to resolves a longstanding problem in Number Theory, first posed by Pierre de Fermat nearly 400 years ago in the 17 th century. Our proof leverages the vast history of mathematical attempts to tackle this Theorem, offering a simpler and shorter approach compared to previous methods. This is the bona fide confirmation that the wealth of tools available in Fermat’s days was indeed enough to prove his seminal result, and it opens exciting avenues for further exploration. This successful proof of his eponymous conjecture vindicates the aforementioned potential of simple tools as applied to difficult problems.

References

  1. Fermat, P.d. Oeuvres de Pierre de Fermat; Gauthier-Villars, 1891; Vol. 1. [Google Scholar]
  2. Euler, L. Elements of Algebra; Springer Science & Business Media, 2012. [Google Scholar] [CrossRef]
  3. Germain, S. Oeuvres philosophiques de Sophie Germain; Collection XIX; 2016. [Google Scholar]
  4. Kummer, E.E. Zur Theorie der complexen Zahlen. 1847. [Google Scholar] [CrossRef]
  5. Wiles, A. Modular elliptic curves and Fermat’s Last Theorem. Annals of mathematics 1995, 141, 443–551. [Google Scholar] [CrossRef]
  6. Ribet, K.A. Galois representations and modular forms. Bulletin of the American Mathematical Society 1995, 32, 375–402. [Google Scholar] [CrossRef]
  7. Beal, A. A Generalization of Fermat’s Last Theorem: The Beal Conjecture and Prize Problem. Notices of the AMS 1997, 44. [Google Scholar]
  8. Abramowitz, M.; Stegun, I.A. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables; US Government printing office, 1968; Vol. 55. [Google Scholar]
  9. Hardy, G.H.; Wright, E.M. An Introduction to the Theory of Numbers; Oxford University Press, 1979. [Google Scholar]
  10. Mihăilescu, P. Primary cyclotomic units and a proof of Catalans conjecture. J. Reine Angew. Math 2004, 572, 167–195. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Alerts
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2025 MDPI (Basel, Switzerland) unless otherwise stated