Mathematics (JEE)HardJEE Advanced

The number of positive integers n ≤ 100 for which 1 + 2 + … + n divides 1² + 2² + … + n² is:

  1. A. 35
  2. B. 33
  3. C. 34
  4. D. 50

Correct answer: C. 34

The ratio is [n(n + 1)(2n + 1)/6]/[n(n + 1)/2] = (2n + 1)/3, an integer iff n ≡ 1 (mod 3). The values 1, 4, …, 100 number 34.

More Sequences, Series and Binomial Theorem questions

Exams that ask this topic