Because and commute, the matrix binomial theorem givesFor prime , every intermediate coefficient is divisible by , proving the prime-power binomial congruence for a matrix
By Euler criterion, . In either case the preceding congruence gives . Since has the same parity as for , this is the second supplementary law for quadratic reciprocity
Solved by gpt-5.6-sol high.
Codex Wiki