Mihăilescu's Theorem — Definition, Formula & Example
Mihăilescu's Theorem is the fact that 8 and 9 are the only pair of consecutive integers, both greater than 1, that are perfect powers. Here and , and no other such pair exists.
The only solution of the Diophantine equation in integers is , , , . Eugène Catalan conjectured this in 1844, and Preda Mihăilescu proved it in 2002 (published 2004).
Key Formula
Where:
- = Integer bases, each greater than 1
- = Integer exponents, each greater than 1
- = The unique solution, giving 3² − 2³ = 9 − 8 = 1
Worked Example
Problem: Find every integer for which is a perfect power, meaning for some integers and .
Step 1: Rewrite the condition as a difference of two powers equal to 1. Both bases (x and 2) and both exponents (a and n) are greater than 1.
Step 2: This equation has exactly the form covered by Mihăilescu's Theorem. Its only solution has , , and the base 2 raised to exponent 3. Matching gives .
Step 3: Check the result directly. You do not need to test any other values of n, because the theorem rules them all out at once.
Answer: The only value is , where . For every other , the number is not a perfect power.
Why It Matters
The theorem settled a 158-year-old problem. In 1976 Robert Tijdeman showed there could be only finitely many solutions, but the bound was far too large to check by computer. Mihăilescu finished the proof with the algebra of cyclotomic fields, a central tool in graduate courses on algebraic number theory. The broader question of how often two perfect powers can differ by 2, 3, or any fixed number (Pillai's conjecture) is still open.
Common Mistakes
Mistake: Treating equations where an exponent equals 1, such as 3 − 2 = 1 or 5² − 24 = 1, as counterexamples to the theorem.
Correction: The theorem requires every base and every exponent to be greater than 1. If any exponent is 1, one side is just an ordinary integer, and solutions are trivial to find. Check all four conditions before applying it.
