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

  1. (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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!