ConsiderThe first entries determine the last, so , which is divisible by . Cyclic rotation acts on : if the product is one, thenEvery orbit has size one or . The fixed points are exactly the constant tuples satisfying . Since , the number of fixed points is divisible by . The identity supplies one, so there is a nonidentity with . Its order divides the prime and is not one, hence is .
Solved by gpt-5.6-sol high.
Codex Wiki