Menu Close

you-randomly-select-a-5-digit-number-what-s-the-probability-that-this-number-has-exactly-3-different-digits-




Question Number 188551 by mr W last updated on 03/Mar/23
you randomly select a 5 digit number.  what′s the probability that this number  has exactly 3 different digits?
yourandomlyselecta5digitnumber.whatstheprobabilitythatthisnumberhasexactly3differentdigits?
Answered by mr W last updated on 03/Mar/23
from 10000 to 99999 there are totally  90000 5 digit numbers.  now we want to find how many among  them have exactly 3 digits.  to select 3 digits from 0 to 9 there are  C_3 ^(10)  possibilities. say a, b, c are the  digits we have selected. to form a 5  digit number using them we have  following possibilities:  1) aaabc  ⇒C_1 ^3 ×((5!)/(3!))=60 numbers  2) aabbc  ⇒C_1 ^3 ×((5!)/(2!2!))=90 numbers  in sum we have 150 numbers using  a,b,c  ⇒150×C_3 ^(10) =18000 numbers  but among them some begin with the  digit 0 like 0abab.  to select a, b from 1 to 9 there are  C_2 ^9  possibilities.  1) 0aaab  ⇒2×((4!)/(3!))=8 numbers  2) 0aabb  ⇒((4!)/(2!2!))=6 numbers  3) 000ab  ⇒((4!)/(2!))=12 numbers  4) 00aab  ⇒2×((4!)/(2!))=24 numbers  in sum there are   (8+6+12+24)×C_2 ^9 =1800 numbers  which begin with 0.  so we have 18000−1800=16200   numbers with exactly 3 digits.  probability p=((16200)/(90000))=18% ✓
from10000to99999therearetotally900005digitnumbers.nowwewanttofindhowmanyamongthemhaveexactly3digits.toselect3digitsfrom0to9thereareC310possibilities.saya,b,carethedigitswehaveselected.toforma5digitnumberusingthemwehavefollowingpossibilities:1)aaabcC13×5!3!=60numbers2)aabbcC13×5!2!2!=90numbersinsumwehave150numbersusinga,b,c150×C310=18000numbersbutamongthemsomebeginwiththedigit0like0abab.toselecta,bfrom1to9thereareC29possibilities.1)0aaab2×4!3!=8numbers2)0aabb4!2!2!=6numbers3)000ab4!2!=12numbers4)00aab2×4!2!=24numbersinsumthereare(8+6+12+24)×C29=1800numberswhichbeginwith0.sowehave180001800=16200numberswithexactly3digits.probabilityp=1620090000=18%
Commented by mr W last updated on 03/Mar/23
shorter way:  5 digit numbers with exact 3 different  digits:  (9/(10))×C_3 ^(10) ×3!× { (5),(3) :}}  =(9/(10))×120×6×25=16200
shorterway:5digitnumberswithexact3differentdigits:910×C310×3!×{53}=910×120×6×25=16200

Leave a Reply

Your email address will not be published. Required fields are marked *