Placement AptitudeModerateTCS NQT Advanced · Infosys pattern
What is the HCF of 2¹² − 1 and 2¹⁸ − 1?
- A. 4095
- B. 3
- C. 63
- D. 7
Correct answer: C. 63
gcd(2ᵐ − 1, 2ⁿ − 1) = 2^gcd(m, n) − 1. gcd(12, 18) = 6, so the HCF is 2⁶ − 1 = 63. 7 = 2³ − 1 is a common factor, but not the highest.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- A and B undertake a job for ₹5400. A alone can do it in 9 days and B alone in 12 days. With the help of C they finish it in 4 days. What…
- The mirror image of a wall clock (reflected left to right) shows 4:35. What is the actual time on the clock?
- What is the smaller angle between the hour and minute hands of a clock at 7:20?
- A laptop is sold after two successive discounts of 20% and 10% on its list price. What single discount is equivalent to these two?
- 1 March of a certain year is a Monday. What day of the week is 1 April of the same year?
- A wall clock is set right at 6:00 a.m. on Monday. It loses 12 minutes every 24 hours, at a uniform rate. What time does it show at the…