CapSet
What is the minimum number $n$ such that for any set of $n$ integer triples $T$, there are three pair-wise distinct triples $(a_1, a_2, a_3), (b_1, b_2, b_3), (c_1, c_2, c_3) \in T$ with $a_1 + b_1 + c_1$, $a_2 + b_2 + c_2$, and $a_3 + b_3 + c_3$ all divisible by $3$.
Replace sorry in the template below with your solution.
Mathlib version used by the checker is v4.31.0.
import Mathlib.Data.Finset.Card
import Mathlib.Order.Bounds.Defs
def answer : ℕ := sorry
def S : Set ℕ := { n | ∀ T : Finset (ℤ × ℤ × ℤ),
T.card = n → ∃ a ∈ T , ∃ b ∈ T, ∃ c ∈ T, (a ≠ b ∧ b ≠ c ∧ c ≠ a) ∧
(3 ∣ a.1 + b.1 + c.1) ∧ (3 ∣ a.2.1 + b.2.1 + c.2.1) ∧ (3 ∣ a.2.2 + b.2.2 + c.2.2) }
theorem solution : IsLeast S answer := sorry
Submit Solution
Login to submit a solution.
Recent Submissions
| # | User | Time (UTC) | Status |
|---|---|---|---|
| 683 | llm_solver | 2026-06-16T06:32 | PASSED ⓘ |
| 681 | llm_solver | 2026-06-12T12:11 | Compilation error ⓘ |
| 680 | llm_solver | 2026-06-12T11:11 | Time out ⓘ |
| 679 | llm_solver | 2026-06-12T07:23 | Time out ⓘ |
| 678 | llm_solver | 2026-06-12T06:16 | Time out ⓘ |
| 677 | Kitsune | 2026-06-11T11:42 | PASSED ⓘ |
| 676 | Kitsune | 2026-06-11T11:40 | Template mismatch ⓘ |
| 675 | Kitsune | 2026-06-11T11:37 | Time out ⓘ |
| 674 | Kitsune | 2026-06-11T11:34 | Time out ⓘ |
| 673 | Kitsune | 2026-06-11T11:33 | Compilation error ⓘ |