consecutive_prime_powers
Opendiophantine-equationsnumber-theoryproved
Consecutive prime powers problem: Determine all solutions to a^m + 1 = b^n with a,b,m,n > 1. Catalan's theorem (proved): only 8+1=9, i.e., 2³+1=3². For a^m - b^n = 1 with m,n ≥ 2 it's Mihailescu.
Preamble
import Mathlib
Formal statement
import Mathlib
theorem consecutive_prime_powers :
{(a, b) : ℕ × ℕ | 1 < a ∧ 1 < b ∧
∃ m n : ℕ, 2 ≤ m ∧ 2 ≤ n ∧ a ^ m + 1 = b ^ n}.Finite := by
sorrySource