Njama,
I don't see where the permutation comes in. By your definition, "a..." represents
= "THHHHHT222," where 2 is the number of possible outcomes at that position that satisfies this sequence, correct?
If so, isn't that 23, which is not P(3,2).
And lastly, what about the...