QlarIITy

MathematicsIIT-JEE 1999Single correct

If the integers mm and nn are chosen at random between 1 and 100, then the probability that a number of the form 7m+7n7^{m}+7^{n} is divisible by 5 equals

  1. Option A: 1/41/4
  2. Option B: 1/71/7
  3. Option C: 1/81/8
  4. Option D: 1/491/49
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. Last digits of 7m7^{m} cycle through 7,9,3,17,9,3,1, so 7m+7n7^{m}+7^{n} is divisible by 55 exactly when n≡m+2(mod4)n\equiv m+2\pmod 4.

Concept refresher. The last digit of 7m7^{m} repeats with period 4: 7,9,3,17,9,3,1 for m≡1,2,3,0(mod4)m\equiv 1,2,3,0\pmod 4. In {1,2,…,100}\{1,2,\dots,100\} each residue class mod 4 has exactly 25 members. Probability =favourable ordered pairsall ordered pairs=\frac{\text{favourable ordered pairs}}{\text{all ordered pairs}}.

Approach. Find which pairs of last digits give a sum divisible by 5, then count ordered pairs (m,n)(m,n).

  1. Step 1: Sample space

    mm and nn are each chosen from 1 to 100, so there are 100×100=10000100\times 100=10000 ordered pairs.

  2. Step 2: Favourable last-digit pairs

    7m+7n7^{m}+7^{n} is divisible by 5 when its last digit is 0 or 5. Last digits from {7,9,3,1}\{7,9,3,1\} give this only for

    7+3,3+7,9+1,1+97+3,\quad 3+7,\quad 9+1,\quad 1+9

    That is, n≡m+2(mod4)n\equiv m+2\pmod 4.

  3. Step 3: Count

    For each of the 100 values of mm there are exactly 25 suitable values of nn:

    P=100×25100×100=14P=\frac{100\times 25}{100\times 100}=\frac{1}{4}

Answer. (A)

Why the other options are wrong

  • (B) 17\frac{1}{7} mixes the base 7 with the probability; the remainders of 7m7^{m} have period 4, not 7.
  • (C) 18\frac{1}{8} counts each unordered pair of last digits only once, halving the favourable cases.
  • (D) 149\frac{1}{49} has no counting basis here; it squares a wrong 17\frac{1}{7}.

Key takeaway

The trap. Students count each favourable pair of last digits in only one order, which halves the favourable cases and the probability.

How toppers think. They fix mm and note that exactly 2525 of the 100100 values of nn work, so the probability is just a ratio of residue classes.

Remember. 7k7^{k} ends in 7,9,3,17,9,3,1 with period 44, and the pairs (7,3)(7,3) and (9,1)(9,1) sum to 1010.

More on Sample Space & Events