sequence of string said to be orderly
if element index i different to i+1
for example
aba has orderly value 2
abab has orderly value 3
abaabb has orderly value 3
if there are 7 a and 13 b
example
aaaaaaabbbbbbbbbbbbb has orderly value 1
what is the mean of its orderly value
for all possible sequences?