divisiblity by 3 (a problem in combinatorics)

Probability Level pending

Given the digits 0, 1, 2, 3, 4, 7 and 8, how many 5-digit numbers can be formed which are divisible by 3 using only the given digits. Each digit can be used at most once.

(Eg: 12348 and 84321 are two such possible numbers)


The answer is 744.

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.

1 solution

3p type number (gives 0 as remainder on division with 3) → 0, 3. 3p+1 type (gives remainder 1)→ 1, 4, 7. 3p+2 type (gives remainder 2) → 2, 8

For a number to be divisible by 3, the sum of its digits must be a multiple of 3. Case -I : Taking three (3p+1) type number and two 3p type number. Digits favourable (0,3,1,4,7) Permutations for this case is 4.4! = 96

Case -II Two digits of (3p+2), two digits of (3p+1) and one digit of 3p type number. Arrangements for this case = C(3,2) x 4! x (4 + 5) = 648 No other case is favourable here Therefore ans = 96 + 648 = 744

What are we supposed to do after we find all of them?

Are we supposed to find the total number of them?

Calvin Lin Staff - 6 years, 4 months ago

Log in to reply

yes, all such possible numbers

Laxmikant Upadhyay - 6 years, 4 months ago

Log in to reply

What are we supposed to do after we found all of them? Looking at your solution, i think you want to ask

"How many such numbers are there?"

Calvin Lin Staff - 6 years, 4 months ago

Log in to reply

@Calvin Lin Yeah, that's exactly what i want. I'll change it to that.

Laxmikant Upadhyay - 6 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...