ABSTRACT

High school math contests often have problems that ask the students to compute the ones digit of a number such as 32005. The trick is to observe a pattern in the ones digit as successive powers of 3 are computed.