JEE Main 2023 · 30 January · morning · Numerical answer · +4 / −0

Number of 4-digit numbers (the repetition of digits is allowed) which are made using the digits 1, 2, 3 and 5, and are divisible by 15, is equal to ___________.

Answer and solution

Answer 21

Solution

Maths sir · 4 steps

Divisible by 15 means divisible by 5 and by 3, so fix the last digit as 5 first, then control the digit sum.

  1. Divisible by 5. The last digit must be 0 or 5, and only 5 is available. So the units digit is fixed as 5, and only the first three digits are free.
  2. Divisible by 3. The sum of all four digits must be a multiple of 3. The last digit already adds 5, so the first three digits must have a sum that leaves remainder 1 when divided by 3. Mod 3, the digits are 3 → 0, 1 → 1, and 2, 5 → 2.
    First two digits: sum mod 3Number of pairsThird digit neededNumbers
    05 (33, 12, 21, 15, 51)remainder 1: only 15 × 1 = 5
    16 (11, 32, 23, 35, 53, 22, ... )remainder 0: only 36 × 1 = 6
    25 (13, 31, 25, 52, 55)remainder 2: 2 or 55 × 2 = 10
  3. Check the pairs. The pairs with remainder 1 are 11, 22, 25, 52, 55 and also 32, 23, 35, 53 minus repeats: exactly 6, since 5 + 6 + 5 = 16 = 4 × 4 pairs in all. The remainder-2 row counts double because two digits, 2 and 5, have remainder 2.
  4. So. Total = 5 + 6 + 10 = 21 four-digit numbers.

The common slip: 22. Making only the first three digits sum to a multiple of 3, and forgetting the last digit 5 also counts, gives 22, not 21.

The idea to keep. For divisibility by 15, split it into 5 and 3. Fix the last digit for 5, then work digit by digit with remainders mod 3, and count how many digits give each remainder.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Permutations & Combinations

Asked about 160 times in JEE Main since 2020. This question is from 2023.