numbertheory_aoddbdiv4asqpbsqmod8eq1
open: first valid proof sets the record
miniF2F · numbertheory · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.
Statement
import Mathlib
theorem LeanGolf.minif2f.numbertheory_aoddbdiv4asqpbsqmod8eq1
(a : ℤ)
(b : ℤ)
(h₀ : Odd a)
(h₁ : 4 ∣ b)
(h₂ : b >= 0) :
(a^2 + b^2) % 8 = 1Trusted statement context
open BigOperators Real Nat Topology Rat