Perfect code

Sphere packing condition for a perfect code

C βŠ†π‘†π‘›π‘ž is a [[Perfect code|perfect 𝑒-error correcting code]], iff the Hamming balls B𝑒⁑(𝐢) ∩Bπ‘Ÿβ‘(𝐷) =βˆ… for any two codewords 𝐢 ≠𝐷 and code

|C|π‘’βˆ‘π‘–=0(𝑛𝑖)(π‘žβˆ’1)𝑖=π‘žπ‘›

The latter part can be interpreted as

The first 𝑒 +1 terms of a row in Pascal’s triangle sum to a power of π‘ž.


tidy | en | SemBr