Zero_and_One_are_the_only_Consecutive_Perfect_Squares
Provedproofwikisquare-numberszero-and-one-are-the-only-consecutive-perfect-squares
If is a perfect square other than , then is not a perfect square.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem Zero_and_One_are_the_only_Consecutive_Perfect_Squares (m : ℕ) (hm : m > 0) (k : ℕ) (hk : m ^ 2 + 1 = k ^ 2) : False := by sorry
Source