User:Cloudy176/Last digits

I will use this page to write about the correct way to compute a power tower's last digits, after it was found that the known methods were incorrect. Euler's theorem will be used if the base is coprime to 10, and the Chinese remainder theorem if the base isn't coprime to 10 (i.e. multiple of 2 or 5). Then I will compute some power towers' last digits using the method developed here. I will post the Python scripts used for the calculations, so others can verify them.