Given two -length sequences of zeroes and ones, and , there are a number of distance functions that can be used to measure the distance from to . Each cell in the arrays shown corresponds to one pair of sequences and is colored according to the value of for the distance function selected.