[CST-2] advanced algorithms 1996/9/6

Timothy Hospedales tmh31@cam.ac.uk
Fri, 31 May 2002 21:29:34 +0100


Hi,
 I just noticed that the mentioned question asks you to work out 

a^(n-1) (mod n) for n=65, a=1,2,8,12

 Is the uni approved calculator meant to be able to do this, mine
doesnt seem to have a (mod n) button..? If not can someone remind be
of the relevant discrete math one needs in order to evaluate that
expression by hand?

Thanks,
Tim