I’m investigating the largest subset $H \subseteq (\mathbb{Z}/4\mathbb{Z})^n$ with no three distinct vectors $x, y, z \in H$ such that $x + y + z \equiv 0 \pmod{4}$ (pointwise addition), as posed by Nathan Kaplan in the 2014 CANT problem session [1]. Using AI-assisted greedy algorithms with custom priority functions (refined via Grok, xAI), I constructed subsets in $(\mathbb{Z}/4\mathbb{Z})^5$ (total 1024 vectors) of sizes:
- Baseline: 176 (~17.2% density), valid.
- Refined: 512 (50% density), valid. Additionally, for (n=6) (4096 vectors): 636 (~15.5%), and (n=7) (16384 vectors): 2470 (~15.1%), all valid. Code and full sets are at https://github.com/DynMEP/ZeroSumFreeSets-Z4.
No explicit bounds for this exact variant (distinct 3-zero-sum-free in $(\mathbb{Z}/4\mathbb{Z})^n$) were found in literature searches up to August 2025. Related problems differ:
- Zero-sum-free sequences in $C_3^n$ ([MO:477672]) focus on sequences, not subsets.
- Sum-free subsets of $[n]$ ([MO:473429]) address $x + y = z$, not three-term sums.
- Other posts (e.g., [MO:201832], [MO:52892]) explore different conditions or groups. A trivial construction is $\{1,3\}^n$ (size 32 for $n=5$).
Are there known bounds for this variant? Is the size-512 construction novel? Insights on upper bounds or asymptotic density would be appreciated.
[1] S.J. Miller et al., Combinatorial and additive number theory problem sessions: 2009–2016, https://web.williams.edu/Mathematics/sjmiller/public_html/math/papers/CANTProblemSessions.pdf