A software function generates a random number N digits long. Each number is determined by randomly selecting a number from 0 to 9. All ten values are equally likely. And different digits may have same value. Determine the minimum length N such that there is at least 50% probability that atleast one digit will have the same value.
Answers
Answered by
5
Answer:
first mark me as a brainliest .... .
Answered by
1
Step-by-step explanation:
A software function generates a random number N digits long. Each number is determined by randomly selecting a number from 0 to 9. All ten values are equally likely. And different digits may have same value. Determine the minimum length N such that there is at least 50% probability that atleast one digit will have the same value.
Similar questions