Fun with Modular Arithmetic

M= Text?

One value?
For exponents, use pow, as in pow(r,c) for r^c.