Placement AptitudeHardTCS NQT · Infosys · Accenture
What is the remainder when 7^100 is divided by 13?
- A. 11
- B. 1
- C. 9
- D. 5
Correct answer: C. 9
7^12 ≡ 1 (mod 13) by Fermat, so 7^100 ≡ 7^4 (mod 13). 7^2 = 49 ≡ 10, so 7^4 ≡ 100 ≡ 9.
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 360 are multiples of 6?
- What are the last two digits of 13^101?
- In how many distinct arrangements of the letters of BANANA are no two A's adjacent?
- What is the sum of all 3-digit numbers that can be formed using the digits 1, 2 and 3 once each?
- How many ordered triples (x, y, z) of integers satisfy x + y + z = 12 with 1 ≤ x, y, z ≤ 6?
- What is the smallest positive integer n such that n! is divisible by 2^10?