Question: (a) How many 5-digit codes have at least two consecutive digits which are the same. For example, 00123 and 32229 are two such codes, but
- (a) How many 5-digit codes have at least two consecutive digits which are the same. For example, 00123 and 32229 are two such codes, but 12345 and 12121 are not.
(b) If we randomly choose a 5-digit code, what is the probability that it contains at least two consecutive digits which are the same?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
