QlarIITy

MathematicsJEE Main 2025 · 3 AprilInteger

If the number of seven-digit numbers, such that the sum of their digits is even, is m⋅n⋅10nm \cdot n \cdot 10^n; m,n∈{1,2,3,…,9}m, n \in \{1, 2, 3, \ldots, 9\}, then m+nm + n 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. Half the choices of the last digit give each parity of the digit sum.

Concept refresher. If each of rr places can be filled in nn ways independently, the number of ways is

N=nrN = n^r

Among the ten digits, five are even and five are odd, so half the choices of any one digit give each parity of the digit sum.

Picture the situation. A seven-digit number has a first digit from 1 to 9 and six further digits from 0 to 9. The parity of the digit sum can always be fixed at the very end: once six digits are chosen, the last digit has to be even or odd to match, and either way there are five choices.

Approach. Count the choices of the first six digits, multiply by the five suitable last digits, and match the form.

  1. Step 1: The first six digits

    The first digit has 9 choices and the next five have 10 each, giving 9×1059 \times 10^5 ways.

  2. Step 2: The last digit

    For each choice, exactly 5 of the 10 possible last digits make the sum even. So the count is 9×105×5=9⋅5⋅1059 \times 10^5 \times 5 = 9 \cdot 5 \cdot 10^5, which gives n=5n = 5 and m=9m = 9, and m+n=14m + n = 14.

Answer. 14

Sanity check. There are 9×1069 \times 10^6 seven-digit numbers, and exactly half of them, 45×10545 \times 10^5, have an even digit sum.

Common wrong answers

  • 45: The product m⋅nm \cdot n is 45, but the question asks for the sum m+nm + n.

Key takeaway

The trap. The same letter appears as a factor and as the power of ten, which fixes its value.

How toppers think. They note at once that half of all seven-digit numbers qualify.

Remember. Half of the numbers have an even digit sum.

More on Fundamental Principle of Counting