Thank you for your answer. I've also tried GNU Octave (Function Primpoly), but Octave supports only polynominals with orders less 22. I don't know what Matlab has to offer. Till now, I haven't understand the mathematics to do the calculations by hand. Is it possible to calculate the period of a LFSR with a given polynominal if it is not primitive ? Or is this possible only by simulation ?