QlarIITy

MathematicsJEE Main 2025 · 2 AprilInteger

Three distinct numbers are selected randomly from the set {1,2,3,…,40}\{1, 2, 3, \ldots, 40\}. If the probability, that the selected numbers are in an increasing G.P. 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. Integers in geometric progression may have a fractional ratio, with terms built from the squares of its numerator and denominator.

Concept refresher. Three numbers pp, qq, rr are in geometric progression exactly when

q2=prq^2 = pr

Picture the situation. Three numbers in increasing geometric progression have the form aa, arar, ar2ar^2 with r>1r > 1. If rr is a whole number, any aa with ar2≤40ar^2 \leq 40 works. If r=pqr = \dfrac{p}{q} in lowest terms, the terms are kq2kq^2, kpqkpq, kp2kp^2 for a whole number kk, with kp2≤40kp^2 \leq 40.

Approach. Count the triples for whole-number ratios and for fractional ratios, then divide by all selections.

  1. Step 1: Whole-number ratios

    For r=2,3,4,5,6r = 2, 3, 4, 5, 6 the first term can take 10, 4, 2, 1 and 1 values, since ar2≤40ar^2 \leq 40. That is 18 triples.

  2. Step 2: Fractional ratios

    For r=32r = \dfrac{3}{2} the last term 9k≤409k \leq 40 allows 4 triples, and for r=43r = \dfrac{4}{3} the last term 16k16k allows 2. Each of 52\dfrac{5}{2}, 53\dfrac{5}{3}, 54\dfrac{5}{4} and 65\dfrac{6}{5} gives 1 triple, since 25k25k or 36k36k must not exceed 40. That is 10 more triples.

  3. Step 3: The probability

    So 28 of the 40C3=9880{}^{40}C_{3} = 9880 selections qualify, and the probability is 289880=72470\dfrac{28}{9880} = \dfrac{7}{2470}. Hence m+n=2477m + n = 2477.

Answer. 2477

Sanity check. Examples of the fractional kind: (4,6,9)(4, 6, 9), (9,12,16)(9, 12, 16), (4,10,25)(4, 10, 25) and (25,30,36)(25, 30, 36). A ratio with numerator 7 would need a last term of at least 49.

Common wrong answers

  • 4949: Counting only whole-number ratios gives 189880=94940\dfrac{18}{9880} = \dfrac{9}{4940} and m+n=4949m + n = 4949; ten triples with fractional ratios are missed.

Key takeaway

The trap. A whole-number ratio is only one of the possibilities.

How toppers think. They list the ratios by numerator, whose square bounds the last term.

Remember. kq2kq^2, kpqkpq, kp2kp^2

More on Sample Space & Events