QlarIITy

MathematicsJEE Main 2021 · 25 FebruaryInteger

The total number of two digit numbers "nn", such that 3n+7n3^n + 7^n is a multiple of 10 , 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. Last digits of powers repeat in a cycle, so only the remainder of the exponent matters.

Concept refresher. The last digit of a power repeats in a cycle as the exponent grows. For odd nn the sum an+bna^n + b^n is divisible by a+ba + b, since

an+bn=(a+b)×qa^n + b^n = (a + b) \times q

for a whole number qq.

Picture the situation. A number is a multiple of 10 when its last digit is 0. The last digit of a sum depends only on the last digits of its terms. The last digits of the powers of 3 run 3, 9, 7, 1 and repeat, and those of the powers of 7 run 7, 9, 3, 1 and repeat, so only the remainder of nn on division by 4 matters.

Approach. Find the last digits of both powers through their cycles and see when they add to a number ending in 0.

  1. Step 1: Last digits

    For nn leaving remainder 1, 2, 3, 0 on division by 4, the last digit of 3n3^n is 3, 9, 7, 1 and that of 7n7^n is 7, 9, 3, 1.

  2. Step 2: When the sum ends in 0

    The sums of the last digits are 10, 18, 10 and 2, so 3n+7n3^n + 7^n ends in 0 exactly when the remainder is 1 or 3, that is, when nn is odd.

  3. Step 3: Count

    The odd two-digit numbers are 11, 13, up to 99, and there are 99−112+1=45\dfrac{99 - 11}{2} + 1 = 45 of them.

Answer. 45

Sanity check. For example 31+71=103^1 + 7^1 = 10 and 33+73=3703^3 + 7^3 = 370 end in 0, while 32+72=583^2 + 7^2 = 58 does not.

Smart method. For odd nn, an+bna^n + b^n is divisible by a+ba + b, so 3n+7n3^n + 7^n is divisible by 10 for every odd nn. For even nn the two powers end in the same digit, 9 or 1, so the sum ends in 8 or 2. Hence exactly the odd two-digit numbers work.

Common wrong answers

  • 90: Taking every two-digit number gives 90; for even nn the sum ends in 8 or 2.
  • 22: Keeping only the numbers that leave remainder 1 on division by 4 gives 22, and misses those that leave remainder 3.

Key takeaway

The trap. Two positions in the cycle of four give a sum ending in zero.

How toppers think. They use the fact that a sum of odd powers is divisible by the sum of the bases.

Remember. Odd power: divisible by the sum of the bases.

More on Fundamental Principle of Counting