QlarIITy

MathematicsJEE Main 2024 · 8 AprilInteger

The number of 3-digit numbers, formed using the digits 2, 3, 4, 5 and 7 , when the repetition of digits is not allowed, and which are not divisible by 3 , is equal to__________

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. Divisibility by 3 depends only on which digits are used, not on their order.

Concept refresher. A number is divisible by 3 exactly when its digit sum is. If the digits leave remainders r1,r2,…r_1, r_2, \ldots on division by 3, this means

r1+r2+…=3kr_1 + r_2 + \ldots = 3k

for a whole number kk.

Picture the situation. Each number uses three different digits out of five. Whether it is divisible by 3 depends only on the set of digits chosen, since the digit sum does not change when the digits are reordered. So it is enough to find the sets of three digits with a sum divisible by 3 and remove all their arrangements.

Approach. Count all the numbers, count those divisible by 3 through the remainders of the digits, and subtract.

  1. Step 1: All numbers

    Three different digits out of the five can be chosen and arranged in 5P3=60{}^5P_3 = 60 ways.

  2. Step 2: Divisible by 3

    The digit 3 leaves remainder 0, the digits 4 and 7 leave 1, and the digits 2 and 5 leave 2. With no repeats, a sum divisible by 3 needs one digit of each remainder, giving 1×2×2=41 \times 2 \times 2 = 4 sets and 4×3!=244 \times 3! = 24 numbers.

  3. Step 3: Not divisible by 3

    Removing these from all the numbers leaves 60−24=3660 - 24 = 36 that are not divisible by 3.

Answer. 36

Sanity check. The four sets are 2, 3, 4; then 2, 3, 7; then 3, 4, 5; then 3, 5, 7, with sums 9, 12, 12 and 15.

Common wrong answers

  • 24: Counting the numbers that are divisible by 3 gives 24; the question asks for those that are not.
  • 42: Missing one of the four sets with a digit sum divisible by 3 gives 42.

Key takeaway

The trap. The question asks for the numbers that are not divisible by 3.

How toppers think. They sort the digits by remainder and count sets, not individual numbers.

Remember. Digit sum divisible by 3.

More on Permutations