What is the units digit of 123^(123)?
Here are the last 10 digits of:
123^123 mod 10^10 =....0220839267 and as you can see 7 is the units digit.