NVAMediumJEE 2023Applications of P&C

JEE Mathematics 2023 Question with Solution

Number of Non-Empty Subsets with Sum Divisible by 3

Problem: Let S={1,2,3,5,7,10,11}S = \{1, 2, 3, 5, 7, 10, 11\}. The number of non-empty subsets of SS such that the sum of their elements is divisible by 33 is _____.

Answer

Correct answer:43

Step-by-step solution

Standard Method

Given: S={1,2,3,5,7,10,11}S = \{1, 2, 3, 5, 7, 10, 11\}

Find: The number of non-empty subsets of SS whose element-sum is divisible by 33.

Classify the elements according to their remainders modulo 33:

3k=33k = 3 3k+1=1,7,103k+1 = 1, 7, 10 3k+2=2,5,113k+2 = 2, 5, 11

Now count valid subsets by size as shown in the solution.

Subsets containing one element:

S1=1S^1 = 1

Subsets containing two elements:

3C1×3C1=9{}^3C_1 \times {}^3C_1 = 9

Subsets containing three elements:

3C1×3C1+1+1=11{}^3C_1 \times {}^3C_1 + 1 + 1 = 11

Subsets containing four elements:

3C3+3C3+3C2×3C2=11{}^3C_3 + {}^3C_3 + {}^3C_2 \times {}^3C_2 = 11

Subsets containing five elements:

3C2×3C2×1=9{}^3C_2 \times {}^3C_2 \times 1 = 9

Subsets containing six elements:

S6=1S^6 = 1

Subsets containing seven elements:

S7=1S^7 = 1

Therefore,

sum=43\text{sum} = 43

So, the number of non-empty subsets is 4343.

Modulo 3 Grouping

Given: S={1,2,3,5,7,10,11}S = \{1, 2, 3, 5, 7, 10, 11\}

Find: The number of non-empty subsets whose sum is divisible by 33.

First compute residues modulo 33:

11,22,30,52,71,101,112(mod3)1 \equiv 1,\quad 2 \equiv 2,\quad 3 \equiv 0,\quad 5 \equiv 2,\quad 7 \equiv 1,\quad 10 \equiv 1,\quad 11 \equiv 2 \pmod 3

Hence the groups are:

mod 3=0:{3},mod 3=1:{1,7,10},mod 3=2:{2,5,11}\text{mod } 3 = 0 : \{3\},\quad \text{mod } 3 = 1 : \{1,7,10\},\quad \text{mod } 3 = 2 : \{2,5,11\}

A subset sum is divisible by 33 when the total residue is 0(mod3)0 \pmod 3. The extracted solution counts such subsets size-wise and gives:

  • size 11: 11 subset
  • size 22: 99 subsets
  • size 33: 1111 subsets
  • size 44: 1111 subsets
  • size 55: 99 subsets
  • size 66: 11 subset
  • size 77: 11 subset

Adding these counts,

1+9+11+11+9+1+1=431 + 9 + 11 + 11 + 9 + 1 + 1 = 43

Therefore, the required number of non-empty subsets is 4343.

Common mistakes

  • A common mistake is to count all subsets of 77 elements as 2712^7-1 and assume one-third of them work. Residues are not uniformly distributed automatically. Instead, group elements by modulo 33 and count valid residue combinations.

  • Another mistake is to forget that the element 33 itself contributes residue 00. Such elements do not change divisibility by 33, but they do multiply the number of valid subset choices. Treat the {3}\{3\} group separately.

  • Students also often count only subsets with equal numbers of 1(mod3)1 \pmod 3 and 2(mod3)2 \pmod 3 elements. This misses cases like three elements from the same residue class, since 1+1+10(mod3)1+1+1 \equiv 0 \pmod 3 and 2+2+20(mod3)2+2+2 \equiv 0 \pmod 3.

Practice more Applications of P&C questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions