What could be the last two digits of an integer raised to the twentieth power?
Problem 879
Official solution
Every integer can be written in the form , where are integers and . The twentieth power of this, according to the binomial theorem, is
Here, the first 19 terms are clearly divisible by 100, and even the twentieth term is: . Therefore, the last two digits of are the same as the last two digits of , and . Let's calculate these!
Clearly, the last two digits of are 00, and ends in 01. Furthermore, , and its last two digits are 76. It is also evident that ends in 25, because , and from this, by successively multiplying the last two digits by 5, we get the last two digits of higher powers of 5; but also ends in 25, so does as well.
From the binomial theorem, , and similarly to the above, this is divisible by 100. Therefore, ends in the same two digits as , and thus the last two digits of and are the same. From this, it immediately follows that also ends in 01, and ends in 76. For , , and the last two digits of are the same as those of , which means also ends in 01. Therefore, the same applies to .
Let's consider the case . For this, , but the last two digits of are 76, so ends in the same two digits as , and , so the last two digits of are 76, and the same applies to .
In summary: the last two digits of the twentieth power of an integer can be .