QlarIITy

MathematicsJEE Main 2026 · 4 AprilInteger

From a month of 3131 days, 33 different dates are selected at random. If the probability that these dates are in an increasing A.P. is equal to ab\frac{a}{b}, where a,b∈Na, b \in \mathbb{N} and gcd⁡(a,b)=1\gcd(a, b) = 1, then a+ba + b 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. Three numbers are in progression when the middle one is the average of the ends, so the ends decide the progression.

Concept refresher. When all outcomes are equally likely,

P(E)=n(E)n(S)P(E) = \frac{n(E)}{n(S)}

where n(E)n(E) counts the favourable outcomes and n(S)n(S) all outcomes, both counted the same way. Three numbers a<b<ca < b < c are in arithmetic progression exactly when

b=a+c2b = \frac{a + c}{2}

which is an integer only when aa and cc have the same parity.

Approach. Count unordered selections of three dates, count the progressions by their end dates, then reduce the fraction.

  1. Step 1: Count all selections

    The three dates are chosen together, without order, from 3131 dates:

    n(S)=31C3=31⋅30⋅296=4495n(S) = {}^{31}C_3 = \frac{31 \cdot 30 \cdot 29}{6} = 4495
  2. Step 2: Count the progressions

    Once the smallest and largest dates are chosen with the same parity, the middle date is their average and is fixed. Among 1,…,311, \ldots, 31 there are 1616 odd and 1515 even dates:

    n(E)=16C2+15C2=120+105=225n(E) = {}^{16}C_2 + {}^{15}C_2 = 120 + 105 = 225
  3. Step 3: Reduce and add

    The probability is 2254495\frac{225}{4495}; both numbers are divisible by 55, and 45=32⋅545 = 3^2 \cdot 5 shares no factor with 899=29⋅31899 = 29 \cdot 31:

    ab=45899⇒a+b=944\frac{a}{b} = \frac{45}{899} \Rightarrow a + b = 944

Answer. 944

Sanity check. Count the progressions by their common difference dd instead: the first term can be 1,…,31−2d1, \ldots, 31 - 2d, so there are ∑d=115(31−2d)=465−240=225\sum_{d=1}^{15} (31 - 2d) = 465 - 240 = 225 of them, the same as the parity count.

Smart method. For the dates 1,2,…,n1, 2, \ldots, n the number of three-term progressions is the number of same-parity pairs. With n=2m+1n = 2m + 1 this is m+1C2+mC2=m2{}^{m+1}C_2 + {}^{m}C_2 = m^2, so here 152=22515^2 = 225 at once. The rule needs consecutive integers starting at 11; for another set, count same-parity pairs directly.

Common wrong answers

  • 4720: Adding 225+4495=4720225 + 4495 = 4720 uses the fraction 2254495\frac{225}{4495} before reducing it; the common factor is 55, so ab=45899\frac{a}{b} = \frac{45}{899} and a+b=944a + b = 944.
  • 989: Counting the progressions in both orders gives 4504495=90899\frac{450}{4495} = \frac{90}{899} and 90+899=98990 + 899 = 989; a set of three dates is unordered, and arranged in increasing order it forms each progression once.
  • 1813: Taking the total as ordered selections, 31⋅30⋅29=2697031 \cdot 30 \cdot 29 = 26970, while counting each progression once gives 22526970=151798\frac{225}{26970} = \frac{15}{1798} and 18131813; both counts must be unordered.

Key takeaway

The trap. Counting ordered outcomes on one side of the fraction and unordered ones on the other, or forgetting to reduce.

How toppers think. They count progressions by pairs of same-parity end points and check by summing over the common difference.

Remember. aa, bb, cc are in progression exactly when 2b=a+c2b = a + c.

More on Sample Space & Events