problem

Odd or even permutation?
Arithmetic sequence, mod m, number theory, algorithms