Placement AptitudeHardTCS Digital · Cognizant GenC Elevate
What are the last three digits of 3^(5^20)?
- A. 401
- B. 243
- C. 001
- D. 443
Correct answer: D. 443
gcd(3,1000)=1 and phi(1000)=400, so reduce the exponent: 5^20 mod 400 = 225, hence 3^225 mod 1000 = 443. Using 3^20 gives 401 and 3^100 gives 001, which are not the required value.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- How many positive divisors of 12! are perfect squares?
- What is the remainder when 2^2024 is divided by 1001?
- What is the number of trailing zeros in the decimal value of 100C50?
- A vessel holds 40 litres of pure milk. 4 litres are drawn out and replaced by water; this operation is performed 3 times in all. How much…
- How many integers from 1 to 1000 (inclusive) are divisible by none of 2, 3, 5 and 7?
- If x + 1/x = 5, what is the value of x^5 + 1/x^5?