Question:

A number \(n\) is randomly selected from the set \(\{ 1, 2, 3, \ldots .,1000\}\). The probability that \({{\sum\limits_{i = 1}^n {i^2} } \over {\sum\limits_{i = 1}^n i }}\) is an integer is

Show Hint

The ratio simplifies to \((2n+1)/3\); integers occur for \(n \equiv 1 \pmod 3\), which gives 334 values out of 1000.
Updated On: Dec 4, 2026
  • 0.331
  • 0.333
  • 0.334
  • 0.332
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Concept:

  • \(\sum_{i=1}^{n} i = \dfrac{n(n+1)}{2}\) and \(\sum_{i=1}^{n} i^{2} = \dfrac{n(n+1)(2n+1)}{6}\).
  • Probability \(= \dfrac{\text{favourable outcomes}}{\text{total outcomes}}\).

Step 1: Simplify the ratio

\[ \frac{\sum i^{2}}{\sum i} = \frac{n(n+1)(2n+1)/6}{n(n+1)/2} = \frac{2n + 1}{3}. \]

Step 2: Condition for an integer

\(\dfrac{2n+1}{3}\) is an integer when \(2n + 1\) is divisible by \(3\), i.e. \(2n \equiv -1 \equiv 2 \pmod 3\), so \(n \equiv 1 \pmod 3\). The values of \(n\) in \(\{1, 2, \ldots, 1000\}\) are \(n = 1, 4, 7, \ldots, 1000\).

Step 3: Count and find the probability

The number of such terms: \(1 + 3(k - 1) = 1000\) gives \(k = 334\). So \[ P = \frac{334}{1000} = 0.334 . \] Check: \(n = 1\) gives \(1\), \(n = 4\) gives \(3\), \(n = 7\) gives \(5\), all integers; \(n = 2\) gives \(\tfrac53\) and \(n = 3\) gives \(\tfrac73\), not integers.

Step 4: Conclusion

The required probability is \(0.334\). Hence, the correct option is (C).
Was this answer helpful?
0
0

Top JEE Main Probability Questions

View More Questions