MathCastle
Number TheoryHardOrders and Primitive Roots

Orders and Primitive Roots · Hard problem

Modulo a prime pp, an integer a≢1a \not\equiv 1 satisfies a35≡1a^{35} \equiv 1 and a21≡1a^{21} \equiv 1. What is the order of aa modulo pp?