Cool Combinatorics

How many numbers of 5 digits can be made with the digits 1,2,3 each of which can be used at most thrice in a number ?

HINT : It's very easy !!!

This is not an original question .

You can try more of my Questions here .


The answer is 210.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Paola Ramírez
Jan 11, 2015

There 5 5 numbers with all their digits equal. There ( 5 4 ) × 2 × 3 = 30 \binom{5}{4}\times 2\times 3=30 with four equal digits.

3 5 33 = 210 3^5-33=\boxed{210}

We have essentially 3 different cases (This is the most basic approach and one that might have been used by most people) .

  • Three identical digits , one identical pair

  • Three identical digits , two different digits .

  • Two identical pairs , one lone digit .

(i) The number of selections of 3 identical digits and one identical pair = ( 3 1 ) × ( 2 1 ) \binom{3}{1} \times \binom{2}{1} .

Therefore the total umber of numbers that can be formed is = ( 3 1 ) × ( 2 1 ) × 5 ! 3 ! × 2 ! \binom{3}{1} \times \binom{2}{1} \times \frac{5!}{3! \times 2!} which equals 60 .

(ii) The number of selections of three identical digits and two different digits = ( 3 1 ) × ( 2 2 ) \binom{3}{1} \times \binom{2}{2}

Therefore the number of numbers that can be formed is = ( 3 1 ) × ( 2 2 ) × 5 ! 3 ! \binom{3}{1} \times \binom{2}{2} \times \frac{5!}{3!} which equals 60 .

(iii) The final case .The number of solutions of two identical pairs and two different digits is = ( 3 1 ) × ( 1 1 ) \binom{3}{1} \times \binom{1}{1} .

Therefore the total number of numbers that can be formed is ( 3 2 ) × ( 1 1 ) × 5 ! 2 ! × 2 ! \binom{3}{2} \times \binom{1}{1} \times \frac{5!}{2! \times 2!} which equals 90 .

Hence the sum of all such numbers comes out to be 60 + 60 + 90 = 210 60 + 60 + 90 = 210 .

Melissa Quail
Jan 8, 2015

There are 3 possible digits for each of the 5 positions so there are 3 5 3^{5} 5 digit integers using only the digits 1, 2, and 3. However, it is stated in the question that each digit can be used at most three times so we have to subtract the cases when there are 4 or 5 of the same digit.

Exactly 4 1s:

There are 5C4 ways of placing 4 1s and there are 2 choices for the remaining digit (namely 2 and 3) so there are 5C4 x 2 = 10 numbers containing four 1s.

It then follows that there are 10 numbers containing four 2s and 10 numbers containing four 3s. So there are 30 numbers containing the same digit 4 times.

Five repeated digits:

There are three numbers with 5 repeated digits:

11111

22222

33333

So the answer is 3 5 30 3 = 210 3^{5} -30-3 = \boxed{210}

I think this is the easiest way to solve it . Good job !!!

A Former Brilliant Member - 6 years, 5 months ago

Log in to reply

i did it this way: 1)3 same digits,2 same digits 2)3 same digits,2 different digits 3)2 same digits,2 same digits,1 different digit. for one,you have (3 c 1) (5 c 3) (2 c 1) 1=60 for two,you have (3 c 1) (5 c 3) (2 c 2) (3 c 2)=30 and for three,you have (3 c 1) (5 c 2) (2 c 1) (3 c 1) 1=180 total=270 where am I going wrong?

Adarsh Kumar - 6 years, 5 months ago

Log in to reply

For 3, we have ( 3 C 1 ) ( 5 C 2 ) ( 3 C 2 ) = 90 (3 C 1)(5 C 2)(3 C 2)= 90 , and for 2, we have ( 3 C 1 ) ( 5 C 3 ) ( 2 C 1 ) ( 1 ) = 60 (3 C 1)(5 C 3)(2 C 1)(1) = 60

Kartik Sharma - 6 years, 4 months ago

Log in to reply

@Kartik Sharma Kartik Sharma Thanks for trying to help .Really appreciate it .

P.S. Are you really 15 years old ?

A Former Brilliant Member - 6 years, 4 months ago

Log in to reply

@A Former Brilliant Member Yes, I am 15 years old and in class 10, right now. Can you guide me little bit since you are elder and both live in(or near) Delhi? (advice here means career advice, of course)*related to coaching and all.

Kartik Sharma - 6 years, 4 months ago

Log in to reply

@Kartik Sharma By the way I live in Vadodara , Gujarat .

You've got to be kidding me since you are way too intelligent for your age .

And yes , not that I am knowledgable in this area , but if you ask my opinion I would suggest you to go join Resonance . They may not have produced a JEE Topper in the past few years , but their students are among the most consistent performers in all competitive exams .(Assuming that you want to crack JEE)

And yes I can assure you that you will get a Top 100 Rank in JEE Advanced :)

A Former Brilliant Member - 6 years, 4 months ago

Log in to reply

@A Former Brilliant Member Well, yes of course you live in Vadodara, now that I see. I first just saw Delhi Public School and assumed the rest. Lol. BTW, what are your thoughts on VMC?(since I have 'almost' joined it)

Kartik Sharma - 6 years, 4 months ago

@A Former Brilliant Member And yes, BTW, I am not that intelligent. Well, as my status too tells it, I suck and I know it. So, yep, thanks for your belief but I am sorry I am not that good. Still learning and improving! :) :(

Kartik Sharma - 6 years, 4 months ago

Log in to reply

@Kartik Sharma Sorry to disappoint you but I haven't at all heard about VMC other than the usual murmur on Brilliant .

And on whether you suck or not, I think your points say it all .

A Former Brilliant Member - 6 years, 4 months ago

First of all, sorry for the late response owing to my other priorities .

Please view my solution and contact me if you still have any difficulties .

A Former Brilliant Member - 6 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...