lean_workbook_plus_81509
ProvedLet be a positive integer. Suppose that , , , , . Prove that is a perfect square.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_81509 {a : ℕ} (ha : 0 < a) (h : ∀ n : ℕ, ∃ d : ℕ, d ∣ n^2 * a - 1 ∧ d ≠ 1 ∧ d ≡ 1 [ZMOD n]) : ∃ b : ℕ, b^2 = a := by sorrySource