TOPICS
Search

Trifferent Code


A trifferent code is a set C subset= {0,1,2}^n of ternary words such that every three distinct codewords have a coordinate in which they take all three symbols (Körner and Marton 1988).

Let T(n) be the largest size of a trifferent code of length n. Bhandari and Khetan (2026, Theorem 1.1) give the lower bound T(n)=Omega(1.162579^n) and the upper bound T(n)=O(n^(-1/2)(3/2)^n), where Omega and O denote big-omega notation and big-O notation, respectively. The construction for the lower bound uses overlapping random constraints and exact computational certificates. The authors report AI assistance with the search, certificate checks, and development of the upper-bound argument.


See also

Code, Codeword, Hamming Distance

Explore with Wolfram|Alpha

References

Bhandari, S. and Khetan, A. "Constructions and Upper Bounds for Trifferent Codes." 23 Nov 2026. https://arxiv.org/abs/2611.33212v1.Körner, J. and Marton, K. "New Bounds for Perfect Hashing via Information Theory." European J. Combin. 9, 523-530, 1988. https://doi.org/10.1016/S0195-6698(88)80048-9.

Cite this as:

Weisstein, Eric W. "Trifferent Code." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/TrifferentCode.html

Subject classifications