TOPICS
Search

Hamming Ball


A Hamming ball of radius r about a word x in Sigma^n is the set of words at Hamming distance at most r from x. Here Sigma is an alphabet with q>=2 symbols, and r is a nonnegative integer. Its size is independent of its center and, for 0<=r<=n, is

 V_q(n,r)=sum_(i=0)^r(n; i)(q-1)^i,

since a word at distance i differs in a choice of i coordinates, with q-1 alternatives at each.

For a code of minimum Hamming distance d, the Hamming balls of radius |_(d-1)/2_| about distinct codewords are disjoint, where |_x_| is the floor function (Hamming 1950). The Gilbert-Varshamov bound instead uses a greedy covering by radius-(d-1) Hamming balls (Gilbert 1952).


See also

Codeword, Gilbert-Varshamov Bound, Hamming Distance

Explore with Wolfram|Alpha

References

Gilbert, E. N. "A Comparison of Signalling Alphabets." Bell System Tech. J. 31, 504-522, 1952. https://doi.org/10.1002/j.1538-7305.1952.tb01393.x.Hamming, R. W. "Error Detecting and Error Correcting Codes." Bell System Tech. J. 29, 147-160, 1950. https://doi.org/10.1002/j.1538-7305.1950.tb00463.x.

Cite this as:

Weisstein, Eric W. "Hamming Ball." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/HammingBall.html

Subject classifications