MathCastle
Groups and FieldsSuperchallengeCosets and Lagrange's Theorem

Cosets and Lagrange's Theorem · Superchallenge problem

What is the smallest k≥1k\ge1 such that ak≡1(mod561)a^k\equiv1\pmod{561} for every aa coprime to 561=3⋅11⋅17561=3\cdot11\cdot17?