QlarIITy

MathematicsJEE Main 2026 · 23 JanuaryInteger

From the first 100100 natural numbers, two numbers first aa and then bb are selected randomly without replacement. If the probability that a−b≥10a - b \geq 10 is mn\frac{m}{n}, gcd⁡(m,n)=1\gcd(m, n) = 1, 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. Ordered pairs with a fixed difference dd number N−dN - d, so the count is an arithmetic series.

Concept refresher. For equally likely outcomes, P(E)=favourable outcomestotal outcomesP(E) = \frac{\text{favourable outcomes}}{\text{total outcomes}}. Choosing first aa and then bb from NN numbers without replacement gives N(N−1)N(N - 1) ordered pairs, all equally likely. For a fixed d≥1d \geq 1, the pairs with a−b=da - b = d are (d+1,1),…,(N,N−d)(d + 1, 1), \ldots, (N, N - d), which is N−dN - d pairs, and

1+2+…+n=n(n+1)21 + 2 + \ldots + n = \frac{n(n + 1)}{2}

Approach. Count the total ordered pairs, count the favourable ones by the value d=a−bd = a - b from 1010 to 9999, reduce the fraction and add numerator and denominator.

  1. Step 1: Total outcomes

    The first number has 100100 choices and the second, being different, has 9999:

    100⋅99=9900100 \cdot 99 = 9900
  2. Step 2: Favourable outcomes

    For each difference d=a−bd = a - b from 1010 to 9999 there are 100−d100 - d pairs, from 9090 pairs down to 11:

    ∑d=1099(100−d)=1+2+…+90=90⋅912=4095\begin{aligned} \sum_{d=10}^{99}(100 - d) &= 1 + 2 + \ldots + 90 \\[4pt] &= \frac{90 \cdot 91}{2} = 4095 \end{aligned}
  3. Step 3: Reduce the fraction

    Both counts share the factor 4545, since 4095=45⋅914095 = 45 \cdot 91 and 9900=45⋅2209900 = 45 \cdot 220:

    40959900=91220\frac{4095}{9900} = \frac{91}{220}

    and 91=7⋅1391 = 7 \cdot 13 has no factor in common with 220=22⋅5⋅11220 = 2^2 \cdot 5 \cdot 11, so m+n=311m + n = 311.

Answer. 311

Sanity check. By symmetry P(a−b≥10)=P(b−a≥10)P(a - b \geq 10) = P(b - a \geq 10), and the remaining case ∣a−b∣≤9|a - b| \leq 9 has 2(99+98+…+91)=17102(99 + 98 + \ldots + 91) = 1710 pairs; 2⋅4095+1710=99002 \cdot 4095 + 1710 = 9900, the total.

Common wrong answers

  • 201: Counting ∣a−b∣≥10|a - b| \geq 10 doubles the favourable pairs to 81908190, giving 91110\frac{91}{110} and 91+110=20191 + 110 = 201; the condition is a−b≥10a - b \geq 10, with aa the larger.
  • 2819: Using 1002=10000100^2 = 10000 outcomes, as with replacement, gives 409510000=8192000\frac{4095}{10000} = \frac{819}{2000} and 28192819; without replacement there are 100⋅99=9900100 \cdot 99 = 9900 ordered pairs.
  • 309: Reading the condition as a−b>10a - b > 10 drops the 9090 pairs with a−b=10a - b = 10, leaving 40054005, so 89220\frac{89}{220} and 309309; the sign is ≥\geq.

Key takeaway

The trap. Counting both orders, ∣a−b∣≥10|a - b| \geq 10, which doubles the answer.

How toppers think. They check the count by symmetry, adding both tails and the middle band to recover the total.

Remember. Without replacement there are N(N−1)N(N - 1) ordered pairs from NN numbers.

More on Sample Space & Events