Menu Close

How-many-6-digits-positive-integers-which-are-formed-by-the-digits-1-to-9-are-such-that-each-of-the-digits-in-the-number-appears-at-least-twice-For-instance-121233-122221-777777-and-etc-




Question Number 116184 by ZiYangLee last updated on 01/Oct/20
How many 6-digits positive integers which are  formed by the digits 1 to 9 are such that each  of the digits in the number appears at least  twice? [For instance: 121233,122221,777777 and etc.]
Howmany6digitspositiveintegerswhichareformedbythedigits1to9aresuchthateachofthedigitsinthenumberappearsatleasttwice?[Forinstance:121233,122221,777777andetc.]
Answered by mr W last updated on 01/Oct/20
we have following cases:  AABBCC  ⇒C_3 ^9 ×((6!)/(2!2!2!))=7560  AAABBB  ⇒C_2 ^9 ×((6!)/(3!3!))=720  AAAABB  ⇒C_2 ^9 ×((6!)/(4!2!))=540  AAAAAA  ⇒C_1 ^9 =9    totally 7560+720+540+9=8829
wehavefollowingcases:AABBCCC39×6!2!2!2!=7560AAABBBC29×6!3!3!=720AAAABBC29×6!4!2!=540AAAAAAC19=9totally7560+720+540+9=8829
Commented by ZiYangLee last updated on 02/Oct/20
★

Leave a Reply

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