where N1 is the frequency of all letters.