Nonexistence of perfect two-error-correcting codes when the alphabet size has exactly two prime divisors
Perfect two-error-correcting codes partition a Hamming space into balls of radius two. We prove that no such partition with at least two centers exists when the alphabet size has exactly two distinct prime divisors, for any positive exponents and any word length. The classical Hamming eigenspace projectors force every prime in the gap between the two Lloyd roots to divide the alphabet size. The root identities then rule out all two-prime cases, including the shared factors that can arise at two and three. For alphabet sizes with exactly three prime divisors, all greater than three, we give an equivalent prime-power formulation of the arithmetic conditions. We exclude subclasses whose two smallest prime divisors are at most $500$ or whose prime divisors meet an explicit pairwise proximity bound. We also derive a coordinate-slice formula whose coefficients are integral for arbitrary integer initial tables whenever the packing and root conditions hold and the gap is supported on the alphabet primes.
Authors
- Yiheng Fang
Institutions
- New York University (US)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-27
- DOI
- https://doi.org/10.5281/zenodo.24596383
- Primary Topic
- Coding theory and cryptography
- Type
- preprint