The stated problem is equivalent to showing that 10 divides a ( a 4 n − 1 ) {\displaystyle \displaystyle a(a^{4n}-1)} .