There are exactly elements of that are exactly Hamming distance away from .
Proof
Let .
Then has positions which each can be either element of ,
and there is exactly one way each position can differ from its current state;
Since the binomial coefficient is isomorphic to a combination, i.e. there are ways to "choose" an unordered set of elements from a fixed set of elements;
Since the Hamming distance is defined as the number of positions where and disagree,
and to be distance away from a codeword is to choose (order independent) positions to flip,
there are exactly possible ways to change positions.