raising to a power modulo an integer

compute x^a mod n:

x:

a:

n:

created by A. Betten, November 4, 2003, last change November 4, 2003