Placement AptitudeHardInfosys SP · Amazon aptitude

Two positive integers a < b have sum 120 and HCF 12. How many such pairs are there?

  1. A. 4
  2. B. 5
  3. C. 2
  4. D. 3

Correct answer: C. 2

Write a = 12x, b = 12y with x + y = 10, x < y and gcd(x, y) = 1. Of (1, 9), (2, 8), (3, 7), (4, 6) only (1, 9) and (3, 7) are coprime, so 2 pairs. Forgetting the coprime condition gives 4.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic