QlarIITy

MathematicsJEE Main 2023 · 15 AprilInteger

The number of elements in the set{n∈N:10≤n≤100\{n \in N : 10 \leq n \leq 100and 3n−33^n - 3 is a multiple of 7}7\} 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. Remainders of powers repeat with a period, found from the first power that leaves remainder one.

Concept refresher. If aka^k leaves remainder 1 on division by mm, the remainders of the powers of aa repeat with period kk:

an+k=an⋅aka^{n + k} = a^n \cdot a^k

leaves the same remainder as ana^n.

Picture the situation. The number 3n−33^n - 3 is a multiple of 7 exactly when 3n3^n leaves the remainder 3 on division by 7. The remainders of 31,32,33,…3^1, 3^2, 3^3, \ldots are 3, 2, 6, 4, 5, 1 and then repeat. So the remainder is 3 exactly for n=1,7,13,…n = 1, 7, 13, \ldots

Approach. Find the period of the remainders and count the exponents of the right form in the range.

  1. Step 1: The period

    The powers 313^1 to 363^6 leave the remainders 3, 2, 6, 4, 5 and 1 on division by 7, and then the pattern repeats. So 3n3^n leaves remainder 3 exactly when n−1n - 1 is a multiple of 6.

  2. Step 2: The count

    From 10 to 100 such values are 13, 19, 25 and so on up to 97. Their number is 97−136+1=15\dfrac{97 - 13}{6} + 1 = 15.

Answer. 15

Sanity check. Check: 313=3×(36)23^{13} = 3 \times (3^6)^2, and 36=729=7×104+13^6 = 729 = 7 \times 104 + 1, so 3133^{13} leaves remainder 3.

Common wrong answers

  • 31: Taking the period as 3 would count the values one more than a multiple of 3, from 10 to 100, and give 31; the period is 6.

Key takeaway

The trap. The period must be found, not guessed.

How toppers think. They list the remainders once and read the condition from the list.

Remember. 36=7×104+13^6 = 7 \times 104 + 1

More on Set Operations & Venn Diagrams