← Quiz: Number Theory: all 9 questions
Quiz: Number Theory · Question 7 of 9
What does this print? (code)
What does this print?
print(pow(3, 200, 13))
- A.1
- B.3
- C.9
- D.12
Answer & explanation
Correct answer: 9
3³ = 27 ≡ 1 (mod 13), so 3²⁰⁰ = (3³)⁶⁶ · 3² ≡ 9 (mod 13).
Can you get the rest right without peeking?
Take the timed Quiz: Number Theory quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →