Redirecting to /en/blog/2012/computing-the-units-digit-of-a-power-a-constant-time-algorithm-using-a-little-number-theory