Placement AptitudeVery hardCAT · Goldman Sachs aptitude

What is the HCF of 2¹²⁰ − 1 and 2⁸⁴ − 1?

  1. A. 2¹² − 1
  2. B. 2²⁴ − 1
  3. C. 2³⁶ − 1
  4. D. 2⁶ − 1

Correct answer: A. 2¹² − 1

gcd(2ᵃ − 1, 2ᵇ − 1) = 2^gcd(a, b) − 1, and gcd(120, 84) = 12, so the HCF is 2¹² − 1 = 4095. 2³⁶ − 1 comes from using the difference 120 − 84 as if it were the HCF.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic