I want to print multiplication tables of Z_n (for n prime but this is irrelevant for my needs at the moment).
When I try e.g.
Zmod(5).multiplication_table(names='digits')
I get
(asterisk) 0 1 2 3
+--------
0| 0 1 2 3
1| 1 2 3 0
2| 2 3 0 1
3| 3 0 1 2
what is not really what I want, I want the canonical representants. If I don't use the names-key, I get letters. How can I get 1, 2, 3, 4, or even better -2, -1, 1, 2?