|
|
Line 1: |
Line 1: |
| <div class="thumb tright"> | | <br><br> |
| <div class="thumbinner" style="width:220px;"> | |
| {| class="wikitable" style="width:220px;"
| |
| ! {{nobreak|p \ a}} !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10
| |
| |-
| |
| ! 3
| |
| |bgcolor="#FFFF00"| 0
| |
| |bgcolor="#FFFF00"| 1 || -1 || || || || || || || ||
| |
| |-
| |
| ! 5
| |
| |bgcolor="#FFFF00"| 0
| |
| |bgcolor="#FFFF00"| 1 || -1 || -1
| |
| |bgcolor="#FFFF00"| 1 || || || || || ||
| |
| |-
| |
| ! 7
| |
| |bgcolor="#FFFF00"| 0
| |
| |bgcolor="#FFFF00"| 1
| |
| |bgcolor="#FFFF00"| 1 || -1
| |
| |bgcolor="#FFFF00"| 1 || -1 || -1 || || || ||
| |
| |-
| |
| ! 11
| |
| |bgcolor="#FFFF00"| 0
| |
| |bgcolor="#FFFF00"| 1 || -1
| |
| |bgcolor="#FFFF00"| 1
| |
| |bgcolor="#FFFF00"| 1
| |
| |bgcolor="#FFFF00"| 1 || -1 || -1 || -1
| |
| |bgcolor="#FFFF00"| 1 || -1
| |
| |}
| |
| <div class="thumbcaption">
| |
| Legendre symbol (a/p) for various ''a'' (along top) and ''p'' (along left side). Only 0 ≤ ''a'' < ''p'' are shown, since due to the first property below any other ''a'' can be reduced modulo ''p''. [[Quadratic residue]]s are highlighted in yellow, and correspond precisely to the values 0 and 1.
| |
| </div>
| |
| </div>
| |
| </div>
| |
| In [[number theory]], the '''Legendre symbol''' is a [[multiplicative function]] with values 1, −1, 0 that is a quadratic character modulo a [[prime number]] ''p'': its value on a (nonzero) [[quadratic residue]] mod ''p'' is 1 and on a non-quadratic residue (''non-residue'') is −1. Its value on zero is 0.
| |
|
| |
|
| The Legendre symbol was introduced by [[Adrien-Marie Legendre]] in 1798<ref>A. M. Legendre ''Essai sur la theorie des nombres'' Paris 1798, p 186</ref> in the course of his attempts at proving the [[law of quadratic reciprocity]]. Generalizations of the symbol include the [[Jacobi symbol]] and [[Dirichlet character]]s of higher order. The notational convenience of the Legendre symbol inspired introduction of several other "symbols" used in [[algebraic number theory]], such as the [[Hilbert symbol]] and the [[Artin symbol]].
| | Decorating the home with candles is really a quick and great way to (pardon the pun) brighten up using the. Any room in the house can benefit within the quick decorating fix candles provide. We'll take a brows through the two main rooms in the average house and many ways for the other countries in the house.<br><br>You only need to keep goal about product will stick. As there are lots of material perfectly found on the market an individual should take one away from the cotton, wool, nylon, polyester and oil. Always keep in mind you'll want to choose the blanket determined by its fabric, its style, softness and weight.<br><br>Bed Bath and Beyond started in year 1971 and have started up to more than 890 outlets worldwide. They could be recycled just a present store since offer several other products on sale, such as towels, kitchen appliances, home decorations and also other goods. It is like going with hypermarket that let you buy all.<br><br>The cow cookie cutter can use for selection of of purposes and hasn't got to use strictly the particular cooking truly feel. It can become the perfect home decoration, a power tool for a artist, appealing bonus gift for your teenage son or friend during the Christmas season. The next time uncover one lounging around in a drawer somewhere in your kitchen, you shouldn't be afraid to think about it out and make use of imagination and creativity location it to use in additional form or fashion.<br><br>First comes selecting the feel or color for each rooms. The master bedroom color should select according towards behavior of individuals. If he or she likes nature then it must be light blue or dusk color.<br><br>Try putting it across your house windows or entry doors on a great even bulb color submission. Shades can be also a perfect property home decor. Walls and as well, windows can be added with curtains to match a lot more dramatic challenege show up. About simple fact, curtains tend to use my in the past. Right up until now, maybe it's still an individual among the functional material inside house furnishings. It truly is also applied like a drapery match privacy. Open doorways could be added with curtain if you want to some security. Pick a color which will will definitely complement coloring of one's walls along with windows. Special will certainly give your home a more advantageous search. Flowers can also be a great household decoration.<br><br>Petite Manhattan oval shaped mirror 1 more addition to the involving these magnifying mirrors. Speaking of wooden edged mirrors the highly preferred choice numerous people is Capital custom lighting mirror. This mirror totally blends with wooden furniture of household and provides a total facelift to whole furniture kit. In fact this mirror's finishing carried out so accurately and stylishly that it may well easily grab anyone's eyes. The cost price of this mirror is $114. Derosa 2 per box mirror is among the its kinds which could be a a part of your home.<br><br>Should you loved this informative article and you wish to receive more information about [http://mohamedia.net/ Decorate your home] generously visit the webpage. |
| | |
| == Definition ==
| |
| | |
| Let ''p'' be an odd [[prime number]]. An integer ''a'' is a [[quadratic residue]] modulo ''p'' if it is [[modular arithmetic|congruent]] to a [[square number|perfect square]] modulo ''p'' and is a quadratic nonresidue modulo ''p'' otherwise. The '''Legendre symbol''' is a function of ''a'' and ''p'' defined as follows:
| |
| | |
| :<math>
| |
| \left(\frac{a}{p}\right) =
| |
| \begin{cases}
| |
| \;\;\,1 \text{ if } a \text{ is a quadratic residue modulo}\ p
| |
| \text{ and } a \not\equiv 0\pmod{p} \\
| |
| -1 \text{ if } a \text{ is a quadratic non-residue modulo}\ p\\
| |
| \;\;\,0 \text{ if } a \equiv 0 \pmod{p}.
| |
| \end{cases}
| |
| </math> | |
| | |
| Legendre's original definition was by means of an explicit formula:
| |
| :<math> \left(\frac{a}{p}\right) \equiv a^{(p-1)/2}\ \pmod{ p}\;\;\text{ and } \left(\frac{a}{p}\right) \in \{-1,0,1\}.</math>
| |
| | |
| By [[Euler's criterion]], which had been discovered earlier and was known to Legendre, these two definitions are equivalent.<ref>Hardy & Wright, Thm. 83.</ref> Thus Legendre's contribution lay in introducing a convenient ''notation'' that recorded quadratic residuosity of ''a'' mod ''p''. For the sake of comparison, [[Carl Friedrich Gauss|Gauss]] used the notation <math>a\mathrm{R}p</math>, <math>a\mathrm{N}p</math> according to whether ''a'' is a residue or a non-residue modulo ''p''.
| |
| | |
| For typographical convenience, the Legendre symbol is sometimes written as (''a''|''p'') or (''a''/''p''). The sequence (''a''|''p'') for ''a'' equal to 0,1,2,... is [[periodic sequence|periodic]] with period ''p'' and is sometimes called the '''Legendre sequence''', with {0,1,−1} values occasionally replaced by {1,0,1} or {0,1,0}.<ref name=KimSong01>Jeong-Heon Kim and Hong-Yeop Song, "Trace Representation of Legendre Sequences," ''Designs, Codes, and Cryptography'' '''24''', p. 343–348 (2001).</ref>
| |
| | |
| == Properties of the Legendre symbol ==
| |
| | |
| There are a number of useful properties of the Legendre symbol which, together with the law of [[quadratic reciprocity]], can be used to compute it efficiently.
| |
| | |
| * The Legendre symbol is periodic in its first (or top) argument: if ''a'' ≡ ''b'' (mod ''p''), then
| |
| ::<math>
| |
| \left(\frac{a}{p}\right) = \left(\frac{b}{p}\right).
| |
| </math>
| |
| | |
| * The Legendre symbol is a [[completely multiplicative function]] of its top argument:
| |
| | |
| ::<math>
| |
| \left(\frac{ab}{p}\right) = \left(\frac{a}{p}\right)\left(\frac{b}{p}\right).
| |
| </math>
| |
| | |
| : In particular, the product of two numbers that are both quadratic residues or quadratic non-residues modulo ''p'' is a residue, whereas the product of a residue with a non-residue is a non-residue. A special case is the Legendre symbol of a square:
| |
| | |
| ::<math>
| |
| \left(\frac{x^2}{p}\right) =
| |
| \begin{cases} 1&\mbox{if }p\nmid x\\0&\mbox{if }p\mid x.
| |
| \end{cases}
| |
| </math>
| |
| | |
| * When viewed as a function of ''a'', the Legendre symbol <math>\left(\frac{a}{p}\right)</math> is the unique quadratic (or order 2) [[Dirichlet character]] modulo ''p''.
| |
| | |
| * The first supplement to the law of quadratic reciprocity:
| |
| | |
| ::<math>
| |
| \left(\frac{-1}{p}\right)
| |
| = (-1)^\tfrac{p-1}{2}
| |
| =\begin{cases}
| |
| \;\;\,1\mbox{ if }p \equiv 1\pmod{4} \\
| |
| -1\mbox{ if }p \equiv 3\pmod{4}. \end{cases}</math>
| |
| | |
| * The second supplement to the law of quadratic reciprocity:
| |
| | |
| ::<math>
| |
| \left(\frac{2}{p}\right)
| |
| = (-1)^\tfrac{p^2-1}{8}
| |
| =\begin{cases}
| |
| \;\;\,1\mbox{ if }p \equiv 1\mbox{ or }7 \pmod{8} \\
| |
| -1\mbox{ if }p \equiv 3\mbox{ or }5 \pmod{8}. \end{cases}</math>
| |
| | |
| * Special formulas for the Legendre symbol <math>\left(\frac{a}{p}\right)</math> for small values of ''a'':
| |
| | |
| :* For an odd prime ''p'' ≠ 3,
| |
| | |
| ::<math>
| |
| \left(\frac{3}{p}\right)
| |
| = (-1)^{\big\lfloor \frac{p+1}{6}\big\rfloor}
| |
| =\begin{cases}
| |
| \;\;\,1\mbox{ if }p \equiv 1\mbox{ or }11 \pmod{12} \\
| |
| -1\mbox{ if }p \equiv 5\mbox{ or }7 \pmod{12}. \end{cases}</math>
| |
| | |
| :* For an odd prime ''p'' ≠ 5,
| |
| | |
| ::<math>
| |
| \left(\frac{5}{p}\right)
| |
| =(-1)^{\big\lfloor \frac{p+2}{5}\big \rfloor}
| |
| =\begin{cases}
| |
| \;\;\,1\mbox{ if }p \equiv 1\mbox{ or }4 \pmod5 \\
| |
| -1\mbox{ if }p \equiv 2\mbox{ or }3 \pmod5. \end{cases}</math>
| |
| | |
| * The [[Fibonacci numbers]] 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ... are defined by the recurrence {{nowrap|F<sub>1</sub> {{=}} F<sub>2</sub> {{=}} 1,}} {{nowrap|F<sub>n+1</sub> {{=}} F<sub>n</sub> + F<sub>n−1</sub>.}} If ''p'' is a prime number then
| |
| | |
| :<math>
| |
| F_{p-\left(\frac{p}{5}\right)} \equiv 0 \pmod p,\;\;\;
| |
| F_{p} \equiv \left(\frac{p}{5}\right) \pmod p.
| |
| </math>
| |
| | |
| <blockquote>
| |
| For example,
| |
| | |
| :<math>
| |
| \begin{align}
| |
| &(\tfrac{2}{5}) &= &-1, &F_3 &= 2, \;\;\;\;&F_2 &=1,\\
| |
| &(\tfrac{3}{5}) &= &-1, &F_4 &= 3,&F_3&=2,\\
| |
| &(\tfrac{5}{5}) &= &\;\;\;\;0, &F_5 &= 5,\\
| |
| &(\tfrac{7}{5}) &= &-1, &F_8 &= 21,&F_7&=13,\\
| |
| &(\tfrac{11}{5}) &= &\;\;\,1, &F_{10} &= 55, &F_{11}&=89.
| |
| \end{align}
| |
| </math>
| |
| | |
| This result comes from the theory of [[Lucas sequence]]s, which are used in [[primality testing]].<ref>Ribenboim, p. 64; Lemmermeyer, ex 2.25-2.28, pp. 73–74.</ref> See [[Wall–Sun–Sun prime]].
| |
| </blockquote>
| |
| | |
| == Legendre symbol and quadratic reciprocity ==
| |
| | |
| Let ''p'' and ''q'' be odd primes. Using the Legendre symbol, the [[quadratic reciprocity]] law can be stated concisely:
| |
| | |
| : <math>
| |
| \left(\frac{q}{p}\right)
| |
| = \left(\frac{p}{q}\right)(-1)^{\tfrac{p-1}{2}\tfrac{q-1}{2}}.
| |
| </math>
| |
| | |
| Many [[proofs of quadratic reciprocity]] are based on Legendre's formula
| |
| | |
| :<math>
| |
| \left(\frac{a}{p}\right) \equiv a^{\tfrac{p-1}{2}}\pmod p.
| |
| </math>
| |
| | |
| In addition, several alternative expressions for the Legendre symbol were devised in order to produce various proofs of the quadratic reciprocity law.
| |
| | |
| * Gauss introduced the [[quadratic Gauss sum]] and used the formula
| |
| | |
| ::<math>
| |
| \sum_{k=0}^{p-1}\zeta^{ak^2}=
| |
| \left(\frac{a}{p}\right)\sum_{k=0}^{p-1}\zeta^{k^2},
| |
| \quad \zeta = e^{2\pi i/p}
| |
| </math>
| |
| | |
| :in his fourth<ref>Gauss, "Summierung gewisser Reihen von besonderer Art" (1811), reprinted in ''Untersuchungen ...'' pp. 463–495</ref> and sixth<ref>Gauss, "Neue Beweise und Erweiterungen des Fundamentalsatzes in der Lehre von den quadratischen Resten" (1818) reprinted in ''Untersuchungen ...'' pp. 501–505</ref> proofs of quadratic reciprocity.
| |
| | |
| * [[Leopold Kronecker|Kronecker's]] proof<ref>Lemmermeyer, ex. p. 31, 1.34</ref> first establishes that
| |
| | |
| ::<math>
| |
| \left(\frac{p}{q}\right)
| |
| =\sgn\left(\prod_{i=1}^{\frac{q-1}{2}}\prod_{k=1}^{\frac{p-1}{2}}\left(\frac{k}{p}-\frac{i}{q}\right)\right).</math>
| |
| | |
| : Reversing the roles of ''p'' and ''q'', he obtains the relation between <math>\left(\frac{p}{q}\right)</math> and <math>\left(\frac{q}{p}\right).</math>
| |
| | |
| * One of [[Gotthold Eisenstein|Eisenstein]]'s proofs<ref>Lemmermeyer, pp. 236 ff.</ref> begins by showing that
| |
| | |
| ::<math>
| |
| \left(\frac{q}{p}\right)
| |
| =\prod_{n=1}^{\frac{p-1}{2}} \frac{\sin\left(\frac{2\pi qn}{p}\right)}{\sin\left(\frac{2\pi n}{p}\right)}.
| |
| </math>
| |
| | |
| : Using certain [[elliptic function]]s instead of the [[sine function]], Eisenstein was able to prove [[cubic reciprocity|cubic]] and [[quartic reciprocity|quartic]] reciprocity as well.
| |
| | |
| == Related functions ==
| |
| | |
| * The [[Jacobi symbol]] <math>\left(\tfrac{a}{n}\right)</math> is a generalization of the Legendre symbol that allows for a composite second (bottom) argument ''n'', although ''n'' must still be odd and positive. This generalization provides an efficient way to compute all Legendre symbols without performing factorization along the way.
| |
| | |
| * A further extension is the [[Kronecker symbol]], in which the bottom argument may be any integer.
| |
| | |
| * The [[power residue symbol]] <math>\left(\tfrac{a}{p}\right)_n</math> generalizes the Legendre symbol to higher power ''n''. The Legendre symbol represents the [[power residue symbol]] for ''n'' = 2.
| |
| | |
| == Computational example ==
| |
| | |
| The above properties, including the law of quadratic reciprocity, can be used to evaluate any Legendre symbol. For example:
| |
| | |
| :<math>\left ( \frac{12345}{331}\right )</math>
| |
| | |
| :<math>=\left ( \frac{3}{331}\right ) \left ( \frac{5}{331}\right ) \left ( \frac{823}{331}\right )</math>
| |
| | |
| :<math>=\left ( \frac{3}{331}\right ) \left ( \frac{5}{331}\right ) \left ( \frac{161}{331}\right )</math>
| |
| | |
| :<math>=\left ( \frac{3}{331}\right ) \left ( \frac{5}{331}\right ) \left ( \frac{7}{331}\right ) \left ( \frac{23}{331}\right )</math>
| |
| | |
| :<math>= (-1) \left ( \frac{331}{3}\right ) \left ( \frac{331}{5}\right ) (-1) \left ( \frac{331}{7}\right ) (-1) \left ( \frac{331}{23}\right )</math>
| |
| | |
| :<math>=-\left ( \frac{1}{3}\right ) \left ( \frac{1}{5}\right ) \left ( \frac{2}{7}\right ) \left ( \frac{9}{23}\right )</math>
| |
| | |
| :<math>=-\left ( \frac{1}{3}\right ) \left ( \frac{1}{5}\right ) \left ( \frac{2}{7}\right ) \left ( \frac{3^2}{23}\right )</math>
| |
| | |
| :<math>= - \left (1\right ) \left (1\right ) \left (1\right ) \left (1\right ) = -1.</math>
| |
| | |
| Or using a more efficient computation:
| |
| :<math>\left ( \frac{12345}{331}\right )=\left ( \frac{98}{331}\right )=\left ( \frac{2 \cdot 7^2}{331}\right )=\left ( \frac{2}{331}\right )=(-1)^\tfrac{331^2-1}{8}=-1.</math>
| |
| The article [[Jacobi symbol#Calculations_using_the_Legendre_symbol|Jacobi symbol]] has more examples of Legendre symbol manipulation.
| |
| | |
| ==Notes==
| |
| | |
| {{reflist|2}}
| |
| | |
| ==References==
| |
| | |
| *{{citation
| |
| | last1 = Gauss | first1 = Carl Friedrich
| |
| | last2 = Maser | first2 = H. (translator into German)
| |
| | title = Untersuchungen über höhere Arithmetik (Disquisitiones Arithmeticae & other papers on number theory) (Second edition)
| |
| | publisher = Chelsea
| |
| | location = New York
| |
| | year = 1965
| |
| | isbn = 0-8284-0191-8}}
| |
| | |
| *{{citation
| |
| | last1 = Gauss | first1 = Carl Friedrich
| |
| | last2 = Clarke | first2 = Arthur A. (translator into English)
| |
| | title = Disquisitiones Arithmeticae (Second, corrected edition)
| |
| | publisher = [[Springer Science+Business Media|Springer]]
| |
| | location = New York
| |
| | year = 1986
| |
| | isbn = 0-387-96254-9}}
| |
| | |
| *{{citation
| |
| | last1 = Bach | first1 = Eric
| |
| | last2 = Shallit | first2 = Jeffrey
| |
| | title = Algorithmic Number Theory (Vol I: Efficient Algorithms)
| |
| | publisher = [[The MIT Press]]
| |
| | location = Cambridge
| |
| | year = 1996
| |
| | isbn = 0-262-02405-5}}
| |
| | |
| *{{citation
| |
| | last1 = Hardy | first1 = G. H.
| |
| | authorlink1=G. H. Hardy
| |
| | last2 = Wright | first2 = E. M.
| |
| | title = An Introduction to the Theory of Numbers (Fifth edition)
| |
| | publisher = [[Oxford University Press]]
| |
| | location = Oxford
| |
| | year = 1980
| |
| | isbn = 978-0-19-853171-5}}
| |
| | |
| *{{citation
| |
| | last1 = Ireland | first1 = Kenneth
| |
| | last2 = Rosen | first2 = Michael
| |
| | title = A Classical Introduction to Modern Number Theory (Second edition)
| |
| | publisher = [[Springer Science+Business Media|Springer]]
| |
| | location = New York
| |
| | year = 1990
| |
| | isbn = 0-387-97329-X}}
| |
| | |
| *{{citation
| |
| | last1 = Lemmermeyer | first1 = Franz
| |
| | title = Reciprocity Laws: from Euler to Eisenstein
| |
| | publisher = [[Springer Science+Business Media|Springer]]
| |
| | location = Berlin
| |
| | year = 2000
| |
| | isbn = 3-540-66957-4}}
| |
| | |
| *{{citation
| |
| | last1 = Ribenboim | first1 = Paulo
| |
| | title = The New Book of Prime Number Records
| |
| | publisher = [[Springer Science+Business Media|Springer]]
| |
| | location = New York
| |
| | year = 1996
| |
| | isbn = 0-387-94457-5}}
| |
| | |
| == External links ==
| |
| *[http://www.math.fau.edu/richman/jacobi.htm Jacobi symbol calculator]
| |
| | |
| [[Category:Modular arithmetic]]
| |
| [[Category:Quadratic residue]]
| |