miteshsholay wrote:
A five-digit number divisible by 3 is to be formed using numerical 0, 1, 2, 3, 4 and 5 without repetition. The total number of ways this can be done is:
A. 122
B. 210
C. 216
D. 217
E. 225
Official Solution
Credit: Veritas Prep
Blindly applying the formula we just discussed would yield n=6 and k = 5, so 6!/(6-5)! which is just 6! and therefore 720. Answer choice D is waiting for us if we go down this route, and it seems like a safe guess if you have no idea how to proceed, so a fair number of students may be tempted by this option. However, the formula gives you all possible permutations of these numbers, including, for example, 01234, which does not meet the second criterion of the question: That the numbers be divisible by 3. This restriction will eliminate many of the possibilities, so 720 possibilities (and 3152 even more so) is overshooting the target.
So what do we do? Go through all 720 possibilities and whittle the list down for every possibility that isn’t divisible by 3? That’s a good way to spend an unproductive afternoon! Why don’t we try and limit the number of possibilities by seeing which combinations of digits give us something divisible by 3 and then going through the permutations for those digits only? The rule for divisibility by 3 is that the sum of the digits must be divisible by 3. The fact that each digit must be unique means we only have six possibilities of digits, each possibility ignoring one of the six digits provided.
Digits 0,1,2,3,4 only: sum 10. Does not work.
Digits 0,1,2,3,5 only: sum 11. Does not work.
Digits 0,1,2,4,5 only: sum 12. Works!
Digits 0,1,3,4,5 only: sum 13. Does not work.
Digits 0,2,3,4,5 only: sum 14. Does not work.
Digits 1,2,3,4,5 only: sum 15. Works!
So we only really need to calculate the permutations of {1,2,3,4,5} and {0,1,2,4,5}. The first one is easier, as we can just take 5!/0! (0! Is 1 by definition) which gives us 120 possibilities. The second one contains a famous GMAT trick, which is that it cannot begin by 0 and still be a 5-digit number. Just like 7 is a one-digit number and not a five-digit number by adding an arbitrary number of 0’s at the beginning of it (James Bond’s understudy 00007). This logic dictates that the second set has only four possible numbers in the first position, and then 4 again for the second (any of the four that wasn’t put in the first spot) and then three, two, one as normal. Instead of the standard 5! we get 4 * 4! which is 96. As such, the correct answer is 120 + 96 = 216.
Answer choice B.