Placement AptitudeHardTCS NQT · Accenture

How many pairs of positive integers (x, y) satisfy 3x + 5y = 200?

  1. A. 13
  2. B. 14
  3. C. 12
  4. D. 40

Correct answer: A. 13

200 − 5y must be divisible by 3, so y ≡ 1 (mod 3): y = 1, 4, …, 37 (y = 40 would make x = 0). That is 13 values. 14 wrongly includes y = 40.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic