QlarIITy

MathematicsJEE Main 2023 · 31 JanuaryInteger

Number of 4-digit numbers that are less than or equal to 2800 and either divisible by 3 or by 11 , 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. Numbers divisible by either of two numbers are counted by inclusion and exclusion.

Concept refresher. For two sets,

n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B)

The multiples of kk from aa to bb, both of them multiples of kk, number b−ak+1\dfrac{b - a}{k} + 1.

Picture the situation. The four-digit numbers up to 2800 run from 1000 to 2800. Some are multiples of 3, some of 11, and some of both, the last being the multiples of 33. In the diagram the two circles are the two lists, and the overlap holds the numbers that appear in both.

Two overlapping circles. The left circle, multiples of 3, holds 546 numbers outside the overlap; the right circle, multiples of 11, holds 110 outside the overlap; the overlap, multiples of 33, holds 54.

Approach. Count each list as an A.P., count the overlap, and combine.

  1. Step 1: Multiples of 3

    The multiples of 3 in the range run from 1002 to 2799, so there are 2799−10023+1=600\dfrac{2799 - 1002}{3} + 1 = 600 of them.

  2. Step 2: Multiples of 11

    The multiples of 11 run from 1001=11×911001 = 11 \times 91 to 2794=11×2542794 = 11 \times 254, so there are 254−91+1=164254 - 91 + 1 = 164.

  3. Step 3: Multiples of 33

    The multiples of 33 run from 1023=33×311023 = 33 \times 31 to 2772=33×842772 = 33 \times 84, so there are 84−31+1=5484 - 31 + 1 = 54.

  4. Step 4: Combine

    The multiples of 33 lie in both lists, so they are subtracted once: 600+164−54=710600 + 164 - 54 = 710.

Answer. 710

Sanity check. The range holds 1801 numbers. One in 3 gives about 600, one in 11 about 164 and one in 33 about 55, in line with the exact counts.

Common wrong answers

  • 764: Adding the two lists without removing the multiples of 33 gives 600+164=764600 + 164 = 764.
  • 656: Taking "either" as "exactly one" removes the 54 common multiples twice and gives 656.

Key takeaway

The trap. The common multiples appear in both lists and are subtracted once.

How toppers think. They write each end of a list as a multiple, so the count is a difference of two multipliers plus one.

Remember. Either: first plus second minus both.

More on Arithmetic Progression