The last digit of is
Pick one
Solution
The last digits of the first few powers of are , , , , , , ..., so the digits repeat in cycles of length . Since the remainder after dividing by is , it follows that the last digit of is the same as the last digit of , which is . Finally, the last digit of any power of is , so the last digit of is equal to the last digit of , which is .
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.