lean_workbook_plus_77229
ProvedFind the possible remainders when is divided by 24, given that and are integers.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_77229 (x y : ℤ) (h₁ : x^2 = 6*y + 3) : x^2 % 24 = 3 ∨ x^2 % 24 = 6 ∨ x^2 % 24 = 9 ∨ x^2 % 24 = 12 ∨ x^2 % 24 = 15 ∨ x^2 % 24 = 18 ∨ x^2 % 24 = 21 ∨ x^2 % 24 = 0 := by sorry
Source