Hamming distance
where formula_7 is the Hamming distance between formula_8 and formula_9.