The Proof-Level Toolkit
The order of mod divides and divides any with . Use CRT to compute orders mod composite numbers: . A primitive root exists mod , , — and its existence converts multiplicative questions into additive ones on exponents.
For odd prime , : ; for and odd : . The case adds for even . Example: . LTE turns "how many times does divide" into arithmetic.
For a symmetric quadratic Diophantine equation, take the solution with minimal; Vieta gives a second root that yields a smaller solution unless a boundary case holds — which then proves the required structure. The IMO 1988 classic: forces to be a perfect square.
becomes ; positive solutions correspond to the divisor pairs. Simon's Favorite Factoring Trick — add the constant that completes the product — is the first thing to try on any equation with an term.