For
(i)
(ii)
(iii)
Then
In general, for
For these
(i) The number of occurrences of each symbol
(ii) The number of times each symbol
(iii) The number of levels, rises, and descents within the strings;
(iv) The number of runs that occur within the strings;
(v) The sum of all strings considered as base
(vi) The number of inversions and coinversions within the strings; and
(vii) The sum of the major indices for the strings.
1970-2025 CP (Manitoba, Canada) unless otherwise stated.