Quantitative AptitudeHardTCS NQT · Wipro

Two positive integers add up to 540 and have HCF 36. How many such unordered pairs of integers exist?

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

Correct answer: C. 4

Write them as 36x and 36y with x + y = 15, gcd(x, y) = 1, x ≤ y. Coprime pairs: (1,14), (2,13), (4,11), (7,8), so 4 (the pairs (3,12), (5,10), (6,9) share a factor).

More Number System, LCM and HCF questions

Exams that ask this topic