QlarIITy

MathematicsJEE Main 2022 · 29 JulyInteger

The number of natural numbers lying between 1012 and 23421 that can be formed using the digits 2, 3, 4, 5, 6 (repetition of digits is not allowed) and divisible by 55 is _____.

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. The test for eleven turns into a small equation in the digits.

Concept refresher. A number is divisible by eleven exactly when the difference between the sum of its digits in odd places and the sum in even places,

D=So−SeD = S_o - S_e

is zero or a multiple of eleven.

Picture the situation. Divisibility by 55 means divisibility by 5 and by 11. With no 0 among the digits, the number must end in 5. The range allows four-digit numbers and a few five-digit numbers. Every four-digit number made from these digits lies inside the range, but a five-digit number must stay below 23421, which is very restrictive.

Approach. Apply the test for eleven to four-digit numbers ending in 5, then check the five-digit numbers.

  1. Step 1: Four-digit numbers

    Let the digits be aa, bb, cc, 5 with aa, bb, cc different digits from 2, 3, 4, 6. The test for 11 needs (a+c)−(b+5)(a + c) - (b + 5) to be a multiple of 11. This difference lies between −6-6 and 3, so it is 0 and a+c=b+5a + c = b + 5.

  2. Step 2: Solve

    For b=2b = 2 the pair aa, cc is 3, 4; for b=3b = 3 it is 2, 6; for b=4b = 4 it is 3, 6; and b=6b = 6 needs a sum of 11, which is impossible. Each pair has 2 orders, giving 6 numbers: 3245, 4235, 2365, 6325, 3465, 6435.

  3. Step 3: Five-digit numbers

    A five-digit number below 23421 with different digits from this list must start with 23 and end in 5, so it is 23465 or 23645, and both exceed 23421. So the count stays 6.

Answer. 6

Sanity check. Dividing confirms the list: 3245 is 55 times 59, and 6435 is 55 times 117.

Common wrong answers

  • 4: Missing one of the three possible middle values of bb gives 4.
  • 3: Counting each pair of outer digits once, without its two orders, gives 3.

Key takeaway

The trap. The upper bound removes every five-digit candidate.

How toppers think. They bound the alternating difference first, which leaves only the value zero.

Remember. D=So−SeD = S_o - S_e

More on Permutations