mangamma
What is the units digit of z^x, where x and z are positive integers?
(1) z when divided by 100 has its hundredths digit as 5
(2) The product of z^2 and z^3 has the same units digit as z^2.
Interesting problem! It's already been explained, but I'll add a note about handling Statement 2 quickly.
Units digits always work in one of these ways:
- For some numbers, the units digit stays the same no matter what power you raise it to. This is true if the units digit of the original number is 0, 1, 5, or 6.
- For some numbers, the units digit alternates back and forth between two values. If you raise it to an even power, you get one units digit, and if you raise it to an odd power, you get a different units digit. This is true if the units digit of the original number is 4 or 9.
- For some numbers, the units digit changes in a cycle of 4 different values. For instance, if the original units digit is 2, then the units digits you get when you raise the number to different powers will be 2, 4, 8, 6, 2, 4, 8, 6, 2, 4, 8, 6, etc. This is true if the units digit of the original number is 2, 3, 7, or 8.
The second statement is basically saying that when you raise a number to a power that's 3 higher than you originally raised it to, you get the same units digit. That won't happen if the units digit alternates back and forth between 2 options or 4 options. It'll only happen if the units digit always stays the same. So, the units digit is definitely 0, 1, 5, or 6. That isn't necessarily critical to solving this problem, but it's something that should pop into your head when you see it!