asked 205k views
3 votes
A pedlock has a four digit code that includes digits from 0 to 9, inclusive.

What is the probability that the code does not consist of all odd digits of the same digit is not used more than once in the code ??

2 Answers

4 votes

The answer is 4,920 out of 5,040 or 41/42.

Hope it helps!

answered
User Machiel Visser
by
7.8k points
4 votes
There are
{}_5P_4=5!\dbinom54=(5!)/((5-4)!)=120 ways of making four-digit codes from the five available odd numerals (1, 3, 5, 7, 9) without replacement. Without any restrictions aside from no replacement, there are
{}_(10)P_4=10!\dbinom{10}4=(10!)/((10-4)!)=5040 possible codes that can be made. So the probability of randomly choosing a code made up only odd digits is


(120)/(5040)

which means the probability of this not occurring is


1-(120)/(5040)\approx0.976
answered
User Maged Makled
by
9.1k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.