Set families with distinct size and intersection residues

Take subsets of an n-element set. Require each subset’s size to have residue a modulo k and the size of each distinct pair’s intersection to have a different residue b. How many subsets can the family contain?

Why it matters and what counts as progress

Why it matters: This generalizes Oddtown, where all sets have odd size and pairwise intersections have even size. Composite moduli require methods that preserve congruence information.

What counts as progress: Determine when n sets can be attained for given residues and find exact maxima in cases that fall short.

How the problem developed

  1. 2 Jun 2026 · All-modulus bound [1]

    Hanlin Zou Proved the upper bound n when size and intersection residues differ.

  2. 19 Oct 2026 · Incidence-matrix proof [2]

    Haoyu Li and coauthors Published Opus 5’s alternative proof via an incidence matrix and integer descent.

Follow new AI contributions to this problem.

Get email updates

Download problem history

AI contribution

An n-set bound for families with two distinct modular size and intersection residues

Haoyu Li, Zeren Shui, Yuhao Zhang, Ferhat Erata, Benjamin Mikek, Murali Krishna Ramanathan, Hao Zhou

For integers n≥k≥2n\ge k\ge 2 and distinct residues a and b modulo k, a family of subsets of an n-element set with sizes congruent to a and pairwise intersections congruent to b has at most n members. Maestro reports and prints an Opus 5 proof via incidence-matrix descent.

AI involvementAI-autonomous
ImportanceModest
Technical verificationFormal (Lean)
Human understandingExplained
Paper date:

Sources

  1. On the maximum size of (a,b)(a,b)-town (mod kk) families
  2. Maestro: Agentic Formal Proof Development by Coordination
  3. Opus 5’s modular intersection proof
  4. Complete Lean proof of the set-family bound
  5. Maestro example proofs and author summaries
Publication history