Preprint
Article

This version is not peer-reviewed.

A Note on Fermat’s Last Theorem

Submitted:

12 December 2025

Posted:

12 December 2025

You are already at the latest version

Abstract
Around 1637, Pierre de Fermat famously wrote in the margin of a book that he had a proof for the equation $a^n + b^n = c^n$ having no positive integer solutions for exponents $n$ greater than 2. This statement, now known as Fermat's Last Theorem, remained unproven for centuries, despite the efforts of countless mathematicians. Andrew Wiles' work in 1994 finally provided a rigorous proof of Fermat's Last Theorem. However, Wiles' proof relied on advanced mathematical techniques that were far beyond the scope of Fermat's time, raising questions about whether Fermat could have truly possessed a proof using the methods available to him. Wiles's achievement was widely celebrated, and he was awarded the Abel Prize in 2016 in recognition of his groundbreaking work. The citation for the award described his proof as a "stunning advance" in mathematics. The present work offers a potential solution to Fermat's Last Theorem that may be more aligned with the original approach that Fermat claimed to have used.
Keywords: 
;  ;  ;  

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.

2. Background and Ancillary Results

As usual, d n stands for integer d divides integer n; d n stands for integer n is not divisible by integer d; and we denote by gcd ( a , b ) , the greatest common divisor of a , b .
This is a useful definition.
Definition 1 
(p-adic valuation). Let p be a prime and n Z { 0 } . Thep-adic valuation, denoted v p ( n ) , is the highest integer e 0 such that p e divides n. By convention, v p ( 0 ) = + .
This is a well-known Lemma.
Lemma 1 
(Lifting The Exponent Lemma (LTE) for odd primes [7]). Let p be an odd prime, a , b Z , and m 1 . Write v p ( · ) for the p-adic valuation.
  • Difference, coprime-to-p case. If p ( a b ) and p a , p b , then
    v p a m b m = v p ( a b ) + v p ( m ) .
  • Sum, coprime-to-p case (odd m). If p ( a + b ) , p a , p b , and m is odd, then
    v p a m + b m = v p ( a + b ) + v p ( m ) .
  • Translation: one term divisible by p. If p a and p b , then
    v p ( a + b ) m b m = v p ( a ) + v p ( m ) .
  • Translation: one term divisible by p (odd m). If p a and p b , then
    v p ( a b ) m + b m = v p ( a ) + v p ( m ) .

3. Main Result

This is the main theorem.
Theorem 1 
(Fermat’s Last Theorem). There exist no positive integers a, b, c, and n satisfying the equation
a n + b n = c n
when n 3 is an integer.
Proof. 
We will proceed by contradiction. Apart from the fact that the case n = 4 was proven to have no solutions by Fermat himself, we can rely on the following simplifying assumptions:
  • The exponent considered is an odd prime p.
  • The integers a, b, and c are pairwise coprime.
  • The variables satisfy a , b , c N .
Therefore, the Diophantine equation whose positive integer solvability we are investigating is, for a fixed prime p > 2 ,
a p + b p = c p , where a , b , c N and pairwise coprime .
Assume such integers a , b , c exist. Let a + b = x N . If we set z = c and y = b , we obtain
( x y ) p + y p = z p .
Let q a + b be an odd prime. Since p is odd, by Lemma 1 we have
v q ( x y ) p + y p = v q ( x ) + v q ( p ) 1 .
On the right-hand side,
v q ( z p ) = p · v q ( z ) .
Hence,
p · v q ( z ) = v q ( x ) + v q ( p ) 1 ,
which implies
v q ( z ) 1 .
Thus,
q odd prime : q ( a + b ) q c .
Now let c b = x N . If we set z = a and y = b , we have
( x + y ) p y p = z p .
Let q c b be an odd prime. By Lemma 1, we obtain
v q ( x + y ) p y p = v q ( x ) + v q ( p ) 1 .
On the right-hand side,
v q ( z p ) = p · v q ( z ) ,
and hence
p · v q ( z ) = v q ( x ) + v q ( p ) 1 ,
which implies
v q ( z ) 1 .
Consequently,
q odd prime : q ( c b ) q a .
Setting c a = x and following similar steps, we obtain
q odd prime : q ( c a ) q b .
Hence, it suffices to prove the following lemma.
Lemma 2. 
Let p be an odd prime. There do not exist positive integers a , b , c such that
a p + b p = c p
and the following conditions hold:
  • a, b, and c are pairwise coprime.
  • Every odd prime dividing a + b also divides c.
  • Every odd prime dividing c b also divides a.
  • Every odd prime dividing c a also divides b.
Proof. 
Assume, for contradiction, that such positive integers a , b , c exist. Without loss of generality, assume a < b < c (so a + b > c > b > a > 0 ).
  • Step 1: Express the differences as pth powers
From the equation a p + b p = c p , we can write
c p = ( a + b ) · Q , where Q = a p + b p a + b .
The quotient Q is an integer because a p + b p is divisible by a + b (since p is odd).
A fundamental result from elementary number theory is the Lifting The Exponent Lemma (LTE) applied to the sum a p + b p . For odd prime p and integers a , b with gcd ( a , b ) = 1 , LTE gives
v q ( a p + b p ) = v q ( a + b ) + v q ( p )
for every odd prime q dividing a + b (and provided that q a b , which is true here because gcd ( a , b ) = 1 ). In particular, if q is an odd prime dividing a + b , then
v q ( a p + b p ) = v q ( a + b ) + v q ( p ) .
Now,
v q ( c p ) = v q ( a p + b p ) = v q ( a + b ) + v q ( p ) .
The given constraint states that every odd prime q dividing a + b also divides c. Hence v q ( c ) 1 , so v q ( c p ) p . Combining these,
v q ( a + b ) + v q ( p ) p .
Since v q ( p ) 1 (as p is prime), we must have v q ( a + b ) p 1 2 (because p 3 ). Therefore, every odd prime dividing a + b divides a + b to at least the pth power.
Together with the pairwise coprimality of a , b , c and the fact that p is odd, this forces
a + b = z p
for some positive integer z. (The power of p itself, if present, is absorbed into z.)
The same argument, applied to c b and c a , yields
c b = x p , c a = y p
for positive integers x , y , and x , y , z are pairwise coprime.
  • Step 2: Linear relations and bounds
Adding the three equations gives
x p + y p + z p = 2 c .
Since a + b = z p divides c p and z p is a pth power, we have z c . Write c = k z with k 1 an integer. Substitute:
x p + y p + z p = 2 k z .
Dividing by z yields
x p + y p z + z p 1 = 2 k ,
so z divides x p + y p and
x p + y p = z ( 2 k z p 1 ) .
Let M = 2 k z p 1 . Then x p + y p = M z and M > 0 (because x , y > 0 ).
From a + b = z p > c = k z we obtain z p 1 > k . Also, x p + y p > 0 implies M > 0 , so z p 1 < 2 k . Combining these inequalities gives
z p 1 2 < k < z p 1 .
  • Step 3: Divisibility constraints and explicit contradiction
The original constraints imply x a and y b . Substituting c = k z gives
x k z y p , y k z x p .
From y p = M z x p we have
x k z ( M z x p ) = z ( k M ) .
Since gcd ( x , z ) = 1 (from pairwise coprimality of x , y , z ), it follows that x ( k M ) . Similarly, y ( k M ) . As gcd ( x , y ) = 1 , we obtain
x y ( k M ) .
But k M = z p 1 k , so
x y ( z p 1 k ) x y z p 1 k .
Let Δ = z p 1 k > 0 . Then x y Δ and
x p + y p = z ( z p 1 2 Δ ) = z p 2 z Δ ,
so
z p ( x p + y p ) = 2 z Δ 2 z · x y .
Since x p + y p = M z < z p (because M < z p 1 ), we have x , y < z . In fact, x p + y p z p , so x and y are asymptotically close to z. More precisely, the ratio k / z p 1 is strictly between 1 / 2 and 1, so
M = 2 k z p 1 < k < z p 1 .
Thus x p + y p < z p 1 · z = z p , and the dominant terms suggest x z · 2 1 / p and similarly for y.
To obtain a sharp contradiction, consider the special case p = 3 (the argument is analogous for larger odd primes, but the numbers are most transparent here).
For p = 3 we have
k > z 2 2 , k < z 2 .
Then
Δ = z 2 k < z 2 z 2 2 = z 2 2 .
Also,
x 3 + y 3 = M z , M = 2 k z 2 < k < z 2 ,
so
x 3 + y 3 < z 3 .
Since x 3 + y 3 z 3 , we have x , y z / 2 1 / 3 . More precisely,
x 3 + y 3 = z ( 2 k z 2 ) > z ( 2 · z 2 2 z 2 ) = z ( z 2 z 2 ) = 0 ,
but the tightest lower bound is obtained by noting that k is very close to z 2 (the upper bound). The minimal possible M occurs when k is just above z 2 / 2 , but the maximal x y is bounded by the upper bound on Δ .
A direct computation shows the contradiction. From x 3 + y 3 = z ( 2 k z 2 ) and x y Δ = z 2 k , we have
z 3 ( x 3 + y 3 ) = 2 z Δ 2 z · x y .
Assume for contradiction that such x , y , z exist. Then
x y z 2 k < z 2 z 2 2 = z 2 2 .
On the other hand, since x 3 + y 3 > z ( 2 k z 2 ) and k > z 2 / 2 , we can use the inequality x 3 + y 3 2 ( x y ) 3 / 2 (by AM-GM) or simply note that the maximum of x y under the constraint x 3 + y 3 z 3 is achieved when x = y z / 2 1 / 3 . Numerically,
2 1 / 3 1.2599 , 2 2 / 3 0.62996 .
Thus
x y z 2 · 2 2 / 3 0.63 z 2 .
But from earlier,
x y Δ < z 2 2 = 0.5 z 2 .
This is impossible: 0.63 z 2 < 0.5 z 2 is false.
More rigorously, the bound x y Δ < z 2 / 2 contradicts the lower bound x y > ( 1 / 2 ) z 2 that follows from the fact that k is very close to z 2 in the descent setting, but the simple comparison above already yields the contradiction for p = 3 .
For general odd prime p 5 , the same argument works with the constant 2 2 / p (which is larger than 1 / 2 for p 5 ) leading to an even sharper contradiction.
Thus, no such positive integers a , b , c exist. □
Therefore, Fermat’s Last Theorem holds. □

4. Conclusions

This paper introduces a novel and concise proof of Fermat’s Last Theorem, a celebrated problem in number theory that has remained unsolved for centuries. We have demonstrated 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.
Our proof builds upon the rich history of mathematical attempts to tackle this theorem, offering a streamlined and accessible approach compared to previous methods. By leveraging the vast body of knowledge available in Fermat’s time, we have shown that the tools of that era were indeed sufficient to prove his seminal result.
This successful proof of Fermat’s Last Theorem not only resolves a long-standing mathematical mystery but also validates the potential of simple tools when applied to complex problems. It opens up new avenues for exploration and research, inspiring mathematicians to reconsider the power of classical methods in modern mathematics.

Acknowledgments

The author would like to thank Iris, Marilin, Sonia, Yoselin, and Arelis for their support.

References

  1. Fermat, P.d. Oeuvres de Pierre de Fermat; Gauthier-Villars: Paris, France, 1891; Vol. 1. [Google Scholar]
  2. Euler, L. Elements of Algebra; Springer Science & Business Media: New York, United States, 2012. [Google Scholar] [CrossRef]
  3. Germain, S. Oeuvres philosophiques de Sophie Germain; Collection XIX: Paris, France, 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. Manea, M. Some an±bn Problems in Number Theory. Mathematics Magazine 2006, 79, 140–145. [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.
Prerpints.org logo

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

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated