https://numbas.mathcentre.ac.uk/question/174312/repeated-squaring-modular-arithmetic.zip?