To do arithmetics in Z_n, I need a function 1. mod that maps to {0,...,n-1} 2. that computes inverse elements in(Z_n^*,*) 3. that computes a generator for a cyclic group Does Maxima offer such functions? Boris Hollas