I hope I am correct....
2004=2000 + 4 .......So last digits of (2004)5 and 45 must be same.
I hope I am correct....
2004=2000 + 4 .......So last digits of (2004)5 and 45 must be same.
another way
knowing the last digit is same as knowing the remainder upon division by 10
2004=4(mod10)
20045=45(mod10)
45=4(mod10)
so last digit is 4