1. (a) How many ternary strings (strings of [0, 1,2)) of length 5 are there? (b)
ID: 3112032 • Letter: 1
Question
Explanation / Answer
Ans 4) 10 people to line up such that the first person and the second person make up the first pair, the third and fourth make up the second pair, etcetera. This gives 10! pairings.
However, if the first person would swap places with the second person, the pairing would be no different, though we counted it as another pairing! In fact, each pair can have its members swap places while preserving the pairings, so we counted each pairing 2^5 times. So, that's what we have to divide by.
We're not finished yet, though: what if the first two people swap places with the third and fourth? It would once again preserve the pairings, though we counted it as a different pairing. In fact, the 5 pairs can swap places with each other all they want, the same pairings would still be preserved. Hence we counted each pairing 5! times, and that's what we have to divide by as well.
In conclusion, there are
10!/2^5*5!=945