User:James in dc/sandbox


 * User:James in dc/sandbox/Divisor theory
 * User:James in dc/sandbox/Jacobi symbol
 * User:James in dc/sandbox/Quadratic Reciprocity

table
Another way to organize the data is to see which primes are residues mod which other primes, as illustrated in the following table. The entry in row p column q is R if q is a quadratic residue (mod p); if it is a nonresidue the entry is N.

If the row, or the column, or both, are ≡ 1 (mod 4) the entry is blue or green; if both row and column are ≡ 3 (mod 4), it is yellow or orange.

The blue and green entries are symmetric around the diagonal: The entry for row p, column q is R (resp N) if and only if the entry at row q, column p, is R (resp N).

The yellow and orange ones, on the other hand, are antisymmetric: The entry for row p, column q is R (resp N) if and only if the entry at row q, column p, is N (resp R).

The reciprocity law states that these patterns hold for all p and q.