mathd_numbertheory_764
open: first valid proof sets the record
miniF2F · mathd · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.
Statement
import Mathlib
theorem LeanGolf.minif2f.mathd_numbertheory_764
(p : ℕ)
(h₀ : Nat.Prime p)
(h₁ : 7 ≤ p) :
∑ k ∈ Finset.Icc 1 (p-2), ((k: ZMod p)⁻¹ * ((k: ZMod p) + 1)⁻¹) = 2Trusted statement context
open BigOperators Real Nat Topology Rat