Placement AptitudeHardTCS NQT Advanced · Capgemini
What is the remainder when 2¹ + 2² + 2³ + … + 2¹⁰⁰ is divided by 7?
- A. 0
- B. 4
- C. 2
- D. 6
Correct answer: C. 2
The sum is 2¹⁰¹ − 2. Since 2³ ≡ 1 (mod 7) and 101 = 3 × 33 + 2, 2¹⁰¹ ≡ 4, so the sum ≡ 4 − 2 = 2.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- How many three-digit numbers are divisible by 6 but not by 4?
- How many times is the digit 7 written when all the integers from 1 to 1000 are written out?
- What is the sum of all two-digit numbers that leave remainder 2 when divided by 7?
- A positive integer has exactly 10 digits when written in base 2. How many digits does it have in base 8?
- Vessel A contains milk and water in the ratio 8 : 5 and vessel B in the ratio 5 : 2. In what ratio must the contents of A and B be mixed…
- Pipe A can fill a tank in 10 hours and pipe B in 15 hours. Because of partial blockages, A works at only 2/3 of its capacity and B at 3/4…