Try this Remainder problem from Duke Math Meet 2009 Problem 9. This problem is from the Team Round of the meet.
Problem: Duke Math Meet 2009 Problem 9
What is the remainder when $ 5^{5^{5^5}} $ is divided by 13 ?
By Fermat's Little Theorem
$ 5^{12} = 1 \mod 13 $
Now if we can find out $ 5^{5^5} \mod 12 $ we can find the answer.
By Euler's theorem $ 5^{\phi (12) } = 5^4 = 1 mod 12 $
Finally, if we can find $ 5^5 mod 4 $ we are done.
Since $ 5 \equiv 1 mod 4 \Rightarrow 5^5 \equiv 1 mod 4 \implies 5^5 = 4Q + 1 $
Thus $ 5^{5^5} = 5^{4Q +1} = 5^{4Q} \times 5 \equiv 1 \times 5 mod 12 $ (as we have previously computed $ 5^4 \equiv 1 mod 12 \Rightarrow 5^{4Q} \equiv 1 mod 12 $ )
Thus $ 5^{5^5} = 12Q' + 5 \Rightarrow 5^{5^{5^5}} = 5^{12Q' + 5 } = 5^{12Q'} \times 5^5 \equiv 5^5 mod 13 $ . (since we have previously computed $ 5^{12} \equiv 1 \mod 13 \implies 5^{12Q'} \equiv 1 mod 13 $ )
Thus $ 5^{5^{5^5}} \equiv 5^5 mod 13 $ . But $latex 5^5 = 3125 \equiv 5 mod 13 $ . Thus answer is 5.

Her project on quantum-accelerated Steiner trees for 15-minute cities earned a place among the finalists at the world's largest pre-college STEM competition. Prishaa Shrimali of Marymount School of New York, was selected as a Grand Finalist at the 2026 Regeneron International Science and Engineering Fair (ISEF) in Phoenix, Arizona. Her project was Optimizing Urban Accessibility: […]

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's M.Stat Entrance. They ranked within the first 50 in the entire country in these entrances. I.S.I. M.Stat Entrance

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's B.Stat Entrance and Chennai Mathematical Institute's B.Sc. Math Entrance. They ranked within the first 200 in the entire country in these entrances. Most of these students attended the problem solving workshops regularly, which happen 5 days every week. CMI B.Sc. Math Entrance […]

In 2025, 8 students from Cheenta Academy cracked the prestigious Regional Math Olympiad. In this post, we will share some of their success stories and learning strategies. The Regional Mathematics Olympiad (RMO) and the Indian National Mathematics Olympiad (INMO) are two most important mathematics contests in India.These two contests are for the students who are […]