855 views
3 votes
3 votes
How many 5 digit numbers can be formed from the integers 1,2......9 if no digit can appear more than twice?

1 Answer

5 votes
5 votes

There will be three cases  :

-----------------------------------

Case 1:  All numbers are different i.e 9c5 and then arrange them 5 ! so it would be :
               (9c5) * 5! = 15120
Case 2 : One number is repeating and other are different something like 11234:

               (9c1)*(8c3) * 5!/2!   = 9!/3!*2! = 30240
Case 3 : two numbers are repeating and only one is diff something like 11223 :

               (9c2)*(7c1) * 5!/2!*2!   = 9*8*7*5!/2!2!2! = 7560


Total :   15120+30240+7560= 52920

Related questions

1 votes
1 votes
0 answers
1
1 votes
1 votes
2 answers
3
Tesla! asked Feb 20, 2018
1,577 views
From 10 married couples, we want to select group of 6 that is not allowed to contain a married couple. How many choices are there?
2 votes
2 votes
1 answer
4
Tesla! asked Feb 20, 2018
518 views
Prove$\binom{m+n}{r}$ = $\binom{n}{0}\binom{m}{r}+\binom{n}{1}\binom{m}{r-1}+... +\binom{n}{r}\binom{m}{0}$