All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
7 come zero (Posted on 2018-06-28) Difficulty: 3 of 5
Let N be a randomly chosen 5-digit number.

a. What is the probability that N contains at least one zero?
b. What is the probability that N contains at least one 7?
c. What is the probability that it contains exactly one zero and one 7?

d. Generalize the above questions for a n-digit number , n>1.

No Solution Yet Submitted by Ady TZIDON    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution solution | Comment 4 of 5 |
See MathMan's correction to parts c and d.c. My solution here neglects the limitation on the possibilities for where the 7 goes imposed by the lack of zeros in the remaining four positions.

a. The first digit can't be zero. The probability that the rest of the digits are all non-zero is (9/10)^4. The probability that there's at least one zero is 1 - (9/10)^4 = .3439.

b. The probability that the first digit is not a 7 os 8/9. The probability that the rest of the digits are all non-7 is (9/10)^4. The probability that all are non-7 is 8/9 * (9/10)^4. The probability that there's at least one 7 is 1 - (8/9) * (9/10)^4 = .4168

c. The first digit is not under consideration for zero; it's not a zero. The probability that the second digit is a zero but not the others is (1/10)*(9/10)^3 = 729/10000 = .0729. This is multiplied by 4 for the four positions that the zero could be in, making .2916.  Now that it has one zero any of the four remaining places could have the 7, so this is like trying to find exactly one zero among four positions--this time being one 7 among four positions. So the overall probability is .2916 ^ 2 = .08503056.

d.a. For an n-digit number the probability is 1 - (9/10)^(n-1).

d.b. 1 - 8/9 * (9/10)^(n-1)

d.c. For an n-digit number this is (((n-1)/10)*(9/10)^(n-2))^2


Edited on July 8, 2018, 8:27 pm
  Posted by Charlie on 2018-06-28 12:26:17

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2018 by Animus Pactum Consulting. All rights reserved. Privacy Information