 This is achieved via the observation that Berlekamp subalgebra is in fact the kernel of a certain formula_18 matrix over formula_3, which is derived from the so-called Berlekamp matrix of the polynomial, denoted formula_20.If formula_21 then formula_22 is the coefficient of the formula_23-th power term in the reduction of formula_24 modulo formula_1, i.e.