QlarIITy

MathematicsJEE Main 2022 · 26 JulyInteger

Numbers are to be formed between 1000 and 3000, which are divisible by 4, using the digits 1, 2, 3, 4, 5 and 6 without repetition of digits. Then the total number of such numbers 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. A number is divisible by four when its last two digits form a multiple of four.

Concept refresher. A whole number N=100q+tN = 100q + t, where tt is the number formed by its last two digits, is divisible by 4 exactly when tt is, because

100q=4×25q100q = 4 \times 25q

Picture the situation. A number between 1000 and 3000 has four digits and starts with 1 or 2. Whether it is divisible by 4 depends only on its last two digits. So the number is built from a first digit, an allowed two-digit ending that does not reuse it, and one middle digit taken from what is left.

Approach. List the allowed endings, then count for each first digit the endings and the middle digit.

  1. Step 1: The endings

    The two-digit multiples of 4 with different digits from 1 to 6 are 12, 16, 24, 32, 36, 52, 56 and 64.

  2. Step 2: First digit 1

    The endings without the digit 1 are 24, 32, 36, 52, 56 and 64, six in all. The middle digit is any of the 3 unused digits, giving 6×3=186 \times 3 = 18 numbers.

  3. Step 3: First digit 2

    The endings without the digit 2 are 16, 36, 56 and 64, four in all, each with 3 middle digits: 4×3=124 \times 3 = 12. The total is 18+12=3018 + 12 = 30.

Answer. 30

Sanity check. Examples of both kinds: 1324 and 1564 start with 1, and 2136 and 2516 start with 2; each uses four different digits and ends in a multiple of 4.

Common wrong answers

  • 48: Not excluding the endings that reuse the first digit gives 2×8×3=482 \times 8 \times 3 = 48.

Key takeaway

The trap. The first digit cannot appear again in the ending.

How toppers think. They list the allowed endings once and reuse the list for each first digit.

Remember. Divisible by 4: look at the last two digits.

More on Permutations