Jacobi symbol
From Wikipedia, the free encyclopedia
The Jacobi symbol generalises the Legendre symbol. It is used by mathematicians in the area of number theory and is named after the German mathematician Carl Gustav Jakob Jacobi.
Contents |
[edit] Definition
The Jacobi symbol uses the prime factorization of the bottom number. It is defined as follows:
-
-
- Let n > 0 be odd and let be the prime factorization of n.
-
For any integer a, the Jacobi symbol where the symbols on the right are all Legendre symbols (given that the bottom numbers pi are all prime).
[edit] Properties of the Jacobi symbol
There are a number of useful properties of the Jacobi symbol which can be used to speed up calculations. They include:
- If n is prime, the Jacobi symbol is the Legendre symbol.
- if
- Note that this means that is 0 or 1 for any a and any n.
- If a ≡ b (mod n), then
- if m and n are odd integers.
The last property is known as reciprocity, similar to the law of quadratic reciprocity for Legendre symbols.
[edit] Residue
There are two statements about quadratic residues with respect to the Legendre symbol which cannot be made with the Jacobi symbol.
First, if then a is not a quadratic residue of n because a was not a quadratic residue of some pk that divides n. However, in the case where we are unable to say that a is a quadratic residue of n. Since the Jacobi symbol is a product of Legendre symbols, there are cases where two Legendre symbols evaluate to −1 and the Jacobi symbol evaluates to 1.
There is a second noticeable missing property from the list above, namely an analogue of Euler's congruence mod n. In fact, that congruence is false at least half the time for Jacobi symbols with a composite denominator, and this is the basis for the Solovay-Strassen probabilistic primality test.