QlarIITy

MathematicsJEE Main 2022 · 24 JuneInteger

The number of 7-digit numbers which are multiples of 11 and are formed using all the digits 1, 2, 3, 4, 5, 7 and 9 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 digit total and the test for eleven fix the sums of the odd and even places.

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. The seven digits fill four odd places and three even places. Their total is 31, so once the sum of the odd places is known the sum of the even places follows. The test compares these two sums. Since 31 is odd the two sums can never be equal, so their difference must be a non-zero multiple of 11.

Approach. Find the allowed sums for the odd places, list the sets of digits, and arrange within the places.

  1. Step 1: The condition

    Let the four odd places add to SS; the digits add to 31, so the difference of the two sums is 2S−312S - 31. It is odd and lies between −11-11 and 19, so as a multiple of 11 it is ±11\pm 11. Hence S=21S = 21 or S=10S = 10.

  2. Step 2: The splits

    For S=21S = 21 the even places hold three digits adding to 10: 1, 2, 7 or 1, 4, 5 or 2, 3, 5. For S=10S = 10 the odd places hold 1, 2, 3, 4. So there are 4 ways to split the digits.

  3. Step 3: Arrange

    In each split the four odd-place digits can be arranged in 4!4! ways and the three even-place digits in 3!3! ways, so the count is 4×4!×3!=5764 \times 4! \times 3! = 576.

Answer. 576

Sanity check. One such number is 3142579, with 3, 4, 5, 9 in the odd places and 1, 2, 7 in the even places; it equals 11 times 285689.

Common wrong answers

  • 432: Missing the split in which the odd places hold 1, 2, 3 and 4 gives 3×144=4323 \times 144 = 432.
  • 144: Using a single split gives 4!×3!=1444! \times 3! = 144.

Key takeaway

The trap. The difference of the two sums can be a non-zero multiple of eleven.

How toppers think. They note the parity of the digit total, which rules out a zero difference at once.

Remember. D=So−SeD = S_o - S_e

More on Permutations