The Legendre symbol is minus one to the number of least residues of a, 2a, and so on that exceed p over two. I will separate the object being defined from the consequence being claimed.
Start locally
For an odd prime \(p\), the Legendre symbol \(\left(\frac ap\right)\) records whether \(a\) is a nonzero square modulo \(p\). Reciprocity exchanges numerator and denominator up to a sign.
I keep the defining relation \(\mathsf D\) above the derived relation \(\mathsf C\). This exposes whether cancellation used \(x\ne0\) and whether the conclusion is canonical.
Compute before generalising
An explicit case prevents the notation from becoming ceremonial. Every subscript and superscript in the display contributes to the value.
The global view
The invariant statement is the one that does not depend on a convenient choice of coordinates, representatives, basis, or enumeration.
Edge conditions
The symbol is defined modulo an odd prime and is not ordinary division. Composite odd denominators require the Jacobi symbol, which can equal one without certifying a square.
The important habit is to remember what was fixed before the calculation began and what was proved only afterward. The final display preserves that order.