Gapplet

Write out the powers of a mod p with p prime.

Input a 
</COMMENT>
Input a prime p  
</COMMENT>
 
 
Compute the powers of a mod p  
</COMMENT>
 
</COMMENT>