I would really appreciate help with a calculation of probabilities.
Let's say I have a die with six sides. I roll the die 7 times and get the following sequence: 5, 1, 2, 2, 4, 5, 1
Given some random other sequence (e.g. 6, 1, 3, 2, 5, 5, 5), what is the probability that there are exactly two numbers in the same position? Exactly three numbers in the same position? And so on.
For example, with the above sequences there are three numbers in the same position: 1 in second position, 2 in fourth position and 5 in sixth position.
Hint:
Without Loss of Generality, the first sequence is
1, 1, 1, 1, 1, 1, 1.