lean_workbook_plus_36442
ProvedFind all positive integers such that is square of an integer.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_36442 (n : ℕ) (hn : 0 < n) : (∃ k : ℕ, n^2 + 2^n = k^2) ↔ ∃ k : ℕ, n^2 + 2^n = k^2 ∧ k > 0 := by sorry
Source