Exercise

Over Z/2Z the polynomial X3+1 factors as X3+1 = (X+1)(X2+X+1). According to the BCH bound the minimal distance of the binary cyclic code generated by g = X2+X+1 is at least

1.    2.    3.    4.