Placement AptitudeHardCAT · Goldman Sachs aptitude
What is the remainder when 23^(23^23) is divided by 7?
- A. 2
- B. 4
- C. 1
- D. 6
Correct answer: B. 4
23 ≡ 2 (mod 7) and 2³ ≡ 1, so only the exponent mod 3 matters. 23 ≡ 2 ≡ −1 (mod 3), and 23 is odd, so 23²³ ≡ −1 ≡ 2 (mod 3). Hence the remainder is 2² = 4. Taking the exponent as ≡ 1 (mod 3) gives the trap answer 2.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- How many integers from 1 to 2100 have no common factor other than 1 with 2100?
- What is the sum of all positive integers less than 100 that are coprime to 100?
- How many positive integers less than 100 have exactly 6 positive divisors?
- What is the sum of all the divisors of 720 that are perfect squares?
- The number 2²⁴ − 1 is divisible by exactly two numbers between 60 and 70. Which are they?
- In a certain base b, the numeral 1331 represents the decimal number 2197. What is b?