Factorial Hypergraph: card roots Mod
ProvedFactorialHypergraph.card_rootsModfactorial-hypergraph-auxiliary-erdos
Equation (3.5), first form: for an odd prime p, the number of roots of f
modulo p is 1 + (5/p), where (5/p) is the Legendre symbol.
Preamble
import Definitions.Def_FactorialHypergraph_Definitions import Definitions.Def_FactorialHypergraph_QuadraticRoots set_option autoImplicit true open FactorialHypergraph open Finset
Formal statement
theorem FactorialHypergraph.card_rootsMod (p : ℕ) [Fact p.Prime] (hp2 : p ≠ 2) :
((rootsMod p).card : ℤ) = legendreSym p 5 + 1 := by sorrySource