Erdős problem 541
Let be (not necessarily distinct) residues modulo a prime , such that there exists some so that if is non-empty and then .
Sources
FormalConjectures/ErdosProblems/
541.lean
Retained formal statement
Let be (not necessarily distinct) residues modulo a prime , such that there exists some so that if is non-empty and then .
Must there be at most two distinct residues amongst the ?
This was formalized in Lean by Alexeev using Aristotle and ChatGPT.
True ↔ ∀ (p : ℕ), Fact (Nat.Prime p) → ∀ (a : Fin p → ZMod p), (∃ r, ∀ (S : Finset (Fin p)), S ≠ ∅ → ∑ i ∈ S, a i = 0 → S.card = r) → (Set.range a).ncard ≤ 2