# Power Doesn't Change Last Digit?

How many integers $1\leq{a}\leq{2015}$ are there such that $a^{a^a}$ and $a^a$ end with the same digit?

×