- #1
- 40
- 1
A code is generated consisting of 3 letters followed by 2 digits. Each of the 3 letters generated is equally likely to be any of the 26 letters of the alphabet. Each of the 2 digits generated is equally likely to be any of the nine digits 1-9. Find the probability that a randomly chosen code has exactly 2 letters the same or 2 digits the same, but not both.
Attempted solution:
P(exactly 2 digits same) = (263*9)/(263*92) = 1/9
P(exactly 2 letters same) = (26*25*3*92)/(263*92) = 75/676
P(2 digits same AND 2 letters same) = (26*25*3*9)/(263*92) = 25/2028
Required probability = 1/9 + 75/676 - 25/2028 = 0.210
But the correct answer is 0.197. Can I ask where did I go wrong? I can't figure it out...
Thanks!
Attempted solution:
P(exactly 2 digits same) = (263*9)/(263*92) = 1/9
P(exactly 2 letters same) = (26*25*3*92)/(263*92) = 75/676
P(2 digits same AND 2 letters same) = (26*25*3*9)/(263*92) = 25/2028
Required probability = 1/9 + 75/676 - 25/2028 = 0.210
But the correct answer is 0.197. Can I ask where did I go wrong? I can't figure it out...
Thanks!