Let S = {1, 2, 3, 4, 5, 6, 9}. Then the number of elements in the set T = {A $\subseteq$ S : A $\ne$ $\phi$ and the sum of all the elements of A is not a multiple of 3} is _______________.
Answer (integer)
80
Solution
3n type $\to$ 3, 6, 9 = P<br><br>3n $-$ 1 type $\to$ 2, 5 = Q<br><br>3n $-$ 2 type $\to$ 1, 4 = R<br><br>number of subset of S containing one element which are not divisible by 3 = ${}^2$C<sub>1</sub> + ${}^2$C<sub>1</sub> = 4<br><br>number of subset of S containing two numbers whose some is not divisible by 3<br><br>= ${}^3$C<sub>1</sub> $\times$ ${}^2$C<sub>1</sub> + ${}^3$C<sub>1</sub> $\times$ ${}^2$C<sub>1</sub> + ${}^2$C<sub>2</sub> + ${}^2$C<sub>2</sub> = 14<br><br>number of subsets containing 3 elements whose sum is not divisible by 3<br><br>= ${}^3$C<sub>2</sub> $\times$ ${}^4$C<sub>1</sub> + (${}^2$C<sub>2</sub> $\times$ ${}^2$C<sub>1</sub>)2 + ${}^3$C<sub>1</sub>(${}^2$C<sub>2</sub> + ${}^2$C<sub>2</sub>) = 22<br><br>number of subsets containing 4 elements whose sum is not divisible by 3<br><br>= ${}^3$C<sub>3</sub> $\times$ ${}^4$C<sub>1</sub> + ${}^3$C<sub>2</sub>(${}^2$C<sub>2</sub> + ${}^2$C<sub>2</sub>) + (${}^3$C<sub>1</sub>${}^2$C<sub>1</sub> $\times$ ${}^2$C<sub>2</sub>)2<br><br>= 4 + 6 + 12 = 22<br><br>number of subsets of S containing 5 elements whose sum is not divisible by 3.<br><br>= ${}^3$C<sub>3</sub>(${}^2$C<sub>2</sub> + ${}^2$C<sub>2</sub>) + (${}^3$C<sub>2</sub>${}^2$C<sub>1</sub> $\times$ ${}^2$C<sub>2</sub>) $\times$ 2 = 2 + 12 = 14<br><br>number of subsets of S containing 6 elements whose sum is not divisible by 3 = 4<br><br>$\Rightarrow$ Total subsets of Set A whose sum of digits is not divisible by 3 = 4 + 14 + 22 + 22 + 14 + 4 = 80.
About this question
Subject: Mathematics · Chapter: Permutations and Combinations · Topic: Fundamental Counting Principle
This question is part of PrepWiser's free JEE Main question bank. 135 more solved questions on Permutations and Combinations are available — start with the harder ones if your accuracy is >70%.