Placement AptitudeVery hardProduct company OA · CAT level

For how many positive integers n is n² + 2024 a perfect square?

  1. A. 8
  2. B. 2
  3. C. 4
  4. D. 16

Correct answer: C. 4

Let n² + 2024 = m², so (m − n)(m + n) = 2024 = 2³ × 11 × 23. The two factors differ by 2n, so they have the same parity, and since the product is even both must be even: write them as 2a and 2b with ab = 506 = 2 × 11 × 23. 506 has 8 divisors, giving 4 unordered pairs a < b (a = b is impossible), each with a positive n = b − a. So there are 4 values (n = 1, 35, 115, 252). 8 counts every factor pair of 2024, including the odd × even ones that give a fractional n.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic