# Does a hamming code always corrects one error and detect 2 errors ?

by blue_tiger30
Tags: code, corrects, detect, error, errors, hamming
 P: 951 Hamming codes are class of codes that have $(2^{m}-1, 2^{m}-m-1,3)$ which means that they all correct one and only one error. I don't know about detection of those other two, I am not familiar with that. But the distance of 3 dictates that they can correct only one error.