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 […]