N : length of the sequence being represented.