Quantitative AptitudeHardTCS NQT · Capgemini

How many positive integers not exceeding 1000 have exactly four positive divisors?

  1. A. 288
  2. B. 303
  3. C. 296
  4. D. 292

Correct answer: D. 292

Exactly four divisors means n = p³ (8, 27, 125, 343: 4 numbers) or n = pq with distinct primes p < q (288 numbers up to 1000, counted prime by prime). Total 292.

More Number System, LCM and HCF questions

Exams that ask this topic