Submitted:
20 February 2026
Posted:
27 February 2026
Read the latest preprint version here
Abstract
Around 1637, Pierre de Fermat famously wrote in the margin of a book that he had a proof showing the equation an + bn = cn has 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’s work in 1994 finally provided a rigorous proof of Fermat’s Last Theorem. However, Wiles’s proof relied on advanced mathematical techniques far beyond the scope of Fermat’s time, raising questions about whether Fermat could have truly possessed a proof using only the methods available to him. Wiles’s achievement was widely celebrated, and he was awarded the Abel Prize in 2016; the citation described his proof as a “stunning advance” in mathematics. Combining short and elementary tools, we prove the Beal conjecture, a well-known generalization of Fermat’s Last Theorem. The present work potentially offers a solution closer in spirit to Fermat’s original idea.
Keywords:
generalized Fermat equation
; p-adic valuation
; lifting the exponent lemma
; coprimality
MSC: 11D41; 11A41; 11A05; 11A07
1. Introduction
Fermat’s Last Theorem, first stated by Pierre de Fermat in the century, asserts that the equation
has no solutions in positive integers whenever is greater than 2. In a margin note left on his personal copy of Diophantus’s Arithmetica, Fermat claimed to have a proof which the margin was too small to contain [1]. Later mathematicians such as Leonhard Euler and Sophie Germain made significant contributions to the study of the problem [2,3], and -century work by Ernst Kummer established the theorem for a specific class of prime exponents [4]. A complete solution, however, remained elusive for more than three centuries.
Finally, in 1994, Andrew Wiles announced a proof of Fermat’s Last Theorem. His argument was complex and multifaceted, drawing on advanced topics such as the theory of elliptic curves, which lay entirely beyond the mathematical landscape of Fermat’s time. After some initial gaps were repaired, Wiles’s work was hailed as the long-awaited resolution of the problem [5] and described as a “stunning advance” in the citation for his Abel Prize in 2016. The proof also established much of the Taniyama–Shimura conjecture, subsequently known as the modularity theorem, and opened up powerful new approaches to numerous other problems via modularity lifting techniques [6]. The techniques employed by Wiles are ostensibly remote from any proof Fermat could have had in mind, in terms of scope, complexity, and the novelty of the tools involved—many of which were only developed in the century.
In 1993, Andrew Beal, an American amateur mathematician and banker, formulated a conjecture while exploring generalizations of Fermat’s Last Theorem. Beal first publicly presented the conjecture together with a prize of $5,000 for a proof or counterexample. This prize has since been raised several times and is currently held by the American Mathematical Society (AMS) at $1,000,000. The Beal conjecture states that if
where A, B, C, x, y, z are positive integers with , then A, B, and C must share a common prime factor. Equivalently, there are no solutions to the above equation with A, B, and C pairwise coprime [7]. Fermat’s Last Theorem arises as the special case .
The argument is by contradiction. Assuming holds with and , the three bases A, B, C are pairwise coprime, so at most one of them is divisible by an odd prime p. We treat three symmetric cases depending on which base is divisible by p. In each case, we let m denote the p-adic valuation of the divisible term and raise both sides of an appropriately rearranged equation to the power . On the one hand, the p-adic valuation of the resulting left-hand side equals , which is greater than 1. On the other hand, an explicit analysis of the binomial expansion of the right-hand side—using a precise formula for the p-adic valuation of central binomial coefficients—shows that the valuation of the right-hand side is equal to 1. This discrepancy yields a contradiction in every case, completing the proof. The same argument immediately yields Fermat’s Last Theorem as a corollary.
Recent years have witnessed significant computational progress in tackling the Beal conjecture. Peter Norvig, a Google research director, carried out an exhaustive search for counterexamples and ruled out their existence for and , as well as for and [8]. Our proof goes further by showing that no counterexample can exist for any values of the parameters.
2. Background and Ancillary Results
We collect here all notation and auxiliary results needed for the proof.
Notation.
As usual, means that the integer d divides the integer n, and means that d does not divide n. We write for the greatest common divisor of a and b.
Definition 1.
Let p be a prime and . Thep-adic valuation, denoted , is the highest integer such that divides n. By convention, .
Proposition 1
(Lifting The Exponent Lemma for odd primes [9]). Let p be an odd prime and let be integers such that and .
- 1.
- If , then for every positive integer k,
- 2.
- If and k is odd, then
Proposition 2
(p-adic valuation of binomial coefficients [10]). Let p be a prime number and m be a positive integer. For any integer k such that , the p-adic valuation of the binomial coefficient is given by:
In particular:
- If (i.e., ), then .
- If (i.e., , the unique such index), then .
These statements together provide the arithmetic machinery used in the proof.
3. Main Result
We are now ready to state and prove the main result.
Theorem 1
(Beal Conjecture). Let A, B, C, x, y, z be positive integers with . If
then A, B, and C have a common prime factor. Equivalently, there are no solutions to the equation above with .
Proof.
Suppose, for contradiction, that there exist positive integers A, B, C, x, y, z with , , and
Since , the three integers A, B, C are pairwise coprime. Suppose that p is an odd prime with . In particular, at most one of them can be divisible by p (if two were both divisible by p, their gcd would be divisible by p, contradicting coprimality). We consider the three symmetric cases.
Case 1: (so and )
Step 1: Setting the valuation parameter. Since , is divisible by p. Write
(The lower bound follows from and , giving .)
Step 2: Raising both sides to the power . Starting from , raise both sides to the power :
Left-hand side valuation. By definition of , we can write where Q is an integer and . Therefore
so
Step 3: Expanding the right-hand side via the binomial theorem. Since and (as and ), the binomial expansion gives
We analyze the p-adic valuation of each term separately.
Endpoint terms ( and ).
Both , and , so by Proposition 1,
Interior terms (). For each such k, since and , the only p-power factor comes from the binomial coefficient, so
by Proposition 2. Among all interior indices k:
- For (i.e., ): the valuation is .
- For (i.e., , which is the unique such index): the valuation is .
Hence there is exactly one interior term of valuation 1, namely the term with :
All other interior terms have valuation at least 2.
Step 4: Computing the total valuation of the right-hand side.
We isolate the three contributions of valuation 1:
where R collects all remaining interior terms (each of valuation ).
The total valuation of the right-hand side of (1) is therefore
because and .
Step 5: Contradiction.
Comparing (L) and (R):
Since , we have , so the two sides of (1) have different p-adic valuations. This is a contradiction, as equal integers must have equal valuations.
Case 2: (so and )
Rearrange equation (*) as
Set (by the same reasoning as Case 1). Raise both sides to the power :
Left-hand side. Exactly as in Case 1,
Right-hand side. Since and (as and ), the binomial expansion of is identical in structure to that of in Case 1 (with a sign change that does not affect p-adic valuations by Proposition 1). The same analysis of endpoint terms, the unique middle term of valuation 1 at , and the remaining terms of valuation , applied with Proposition 2, yields
This contradicts , exactly as in Case 1.
Case 3: (so and )
Rearrange (*) as
The argument is entirely symmetric to Case 2, with the roles of A and B interchanged, and leads to the same contradiction.
Conclusion of the proof. Every possible configuration leads to a contradiction. Therefore, there are no positive integer solutions to with and , and the Beal conjecture is true. □
4. Conclusions
We have presented a proof of the Beal conjecture relying solely on classical and elementary tools: Lifting The Exponent Lemma and the formula for the p-adic valuation of binomial coefficients of the form . The argument is self-contained, short, and does not invoke the machinery of elliptic curves, modular forms, or any other advanced -century technology.
The key insight is a comparison of p-adic valuations after raising both sides of the hypothetical equation to a suitably chosen power of an odd prime p. The left-hand side acquires a valuation of , which is greater than 1. A detailed analysis of the binomial expansion of the right-hand side, carried out via Lifting The Exponent Lemma and the exact valuation formula for central-type binomial coefficients, shows that the valuation on the right is equal to 1. Since equal integers must have equal p-adic valuations, the assumption that a coprime solution exists leads to a contradiction in all three symmetric cases.
As an immediate consequence, Fermat’s Last Theorem follows as a special case of the Beal conjecture by setting , providing an alternative, elementary route to a result whose only previously known proof [5] required the full force of the modularity theorem [6].
Several natural questions remain open. It would be interesting to explore whether analogous p-adic valuation arguments can be extended to more general exponential Diophantine equations, or whether the present approach can be adapted to yield new results in the direction of the -conjecture. We hope that the elementary character of the present proof will make these problems more accessible and will stimulate further research.
Acknowledgments
The author would like to thank Iris, Marilin, Sonia, Yoselin, and Arelis for their support.
References
- Fermat, P.d. Oeuvres de Pierre de Fermat; Gauthier-Villars: Paris, France, 1891; Vol. 1. [Google Scholar]
- Euler, L. Elements of Algebra; Springer Science & Business Media: New York, United States, 2012. [Google Scholar] [CrossRef]
- Germain, S. Oeuvres philosophiques de Sophie Germain; Collection XIX: Paris, France, 2016. [Google Scholar]
- Kummer, E.E. Zur Theorie der complexen Zahlen. 1847. [Google Scholar] [CrossRef]
- Wiles, A. Modular elliptic curves and Fermat’s Last Theorem. Annals of mathematics 1995, 141, 443–551. [Google Scholar] [CrossRef]
- Ribet, K.A. Galois representations and modular forms. Bulletin of the American Mathematical Society 1995, 32, 375–402. [Google Scholar] [CrossRef]
- Beal, A. A Generalization of Fermat’s Last Theorem: The Beal Conjecture and Prize Problem. Notices of the AMS 1997, 44. [Google Scholar]
- Norvig, P. Beal’s Conjecture: A Search for Counterexamples. Norvig.com 2017. Accessed February 19, 2026. Accessed.
- Manea, M. Some an ± bn Problems in Number Theory. Mathematics Magazine 2006, 79, 140–145. [Google Scholar] [CrossRef]
- Graham, R.L.; Knuth, D.E.; Patashnik, O. Concrete Mathematics: A Foundation for Computer Science, 2nd ed.; Addison-Wesley: Reading, MA, 1994. [Google Scholar]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
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.