MAIN PROPERTIES OF DIVISIBILITY Theorems of Fermat and Euler. Primitive Roots.-A posi tive integer, like 7, is called a prime if it has no factor except itself and 1. But 6= 2 X3 is composite. Two integers, like 8 and are called relatively prime if they have no common factor > I.
The generalization from 7 to any m is immediate. If an integer r is relatively prime to m and if r differs from some square by a multiple of m, then r is a quadratic residue of m. But if is is
relatively prime to m and if there is no integer x such that is divisible by m, then a is a quadratic of m. If m= 15, we need only test the squares of 1, 2, 4, 7; their remainders i and 4 are the only least quadratic residues of 15. The remaining positive integers < 15 and relatively prime to 15 are 2, 7, 8, I 1, 13, 14 and give all the least non-residues of 15.
If p is a prime > 2, and if s is any integer not divisible by p, Legendre's symbol (s/p) is defined to have one of just two values, viz., + I when s is a quadratic residue of p, and I when s is a non-residue. The earlier results give (2/7) = + I, (3/7) = 1. By use of the formulas (s/p) (t/p) = (st/P), ( = ( I) = ( I) the computation of any symbol (s/p) is evidently reduced to that of (//p) where 1 is an odd prime In case 1>p, we have / = ap+r, where o < r
Here it was necessary to know that 73, and 7 are all primes. The removal of the restriction to primes would obviously save much work. Partly for this reason, but mainly on account of its importance in many investigations, we shall discuss Jacobi's symbol.
Let P be a positive odd integer. If P= i, we take (s/ P)= (0) = +1.
But if where pi, P2 are odd primes, not necessarily distinct, we define Jacobi's symbol to be (s/P) = (s/Pi) (s/P2) (s/Pr).
In case an even number of these factors is 1, the symbol (s/P) is + I and yet s is a non-residue of P. While therefore Jacobi's symbol does not admit of the same interpretation as Legendre's, yet all the above formulas hold true, including the reciprocity law, provided p and q are now any relatively prime positive odd integers. If for we define (s/n) to be (s/P), we see that the reciprocity law holds also when just one of p and q is negative.