|
|
Line 1: |
Line 1: |
| {{Refimprove|date=December 2009}}
| | I'm Christal and I live with my husband and our three children in Steinkjer, in the south area. My hobbies are Target Shooting, Billiards and Target Shooting.<br><br>my homepage [http://ctp.ru/index.php?option=com_easybookreloaded&view=easybookreloaded&limit780&943aa4f3acb869462ce5d4fb8f6a99e0=a5137eea979de88a024a8668969db6eb&943aa4f3acb869462ce5d4fb8f6a99e0=a5137eea979de88a024a8668969db6eb FIFA 15 coin Hack] |
| In [[mathematics]], the '''Legendre sieve''', named after [[Adrien-Marie Legendre]], is the simplest method in modern [[sieve theory]]. It applies the concept of the [[Sieve of Eratosthenes]] to find upper or lower [[upper bound|bound]]s on the number of [[prime number|prime]]s within a given set of integers. Because it is a simple extension of [[Eratosthenes]]' idea, it is sometimes called the '''Legendre–Eratosthenes sieve'''.<ref>Iwaniec, Henryk. [http://www.numdam.org/item?id=ASNSP_1977_4_4_2_257_0 The sieve of Eratosthenes-Legendre]. Annali della Scuola Normale Superiore di Pisa - Classe di Scienze, Sér. 4, 4 no. 2 (1977), p. 257-268 MR [http://www.ams.org/mathscinet-getitem?mr=453676 453676]<!-- Bot generated title --></ref>
| |
| | |
| ==Legendre's identity==
| |
| The central idea of the method is expressed by the following identity, sometimes called the '''Legendre identity''':
| |
| | |
| :<math>S(A,P)= \sum_{a\in A}\sum_{d\mid a;\,d\mid P} \mu(d) =\sum_{d\mid P}\mu(d)|A_d|,</math>
| |
| | |
| where ''A'' is a set of integers, ''P'' is a product of distinct primes, <math>\mu</math> is the [[Möbius function]], and <math>A_d</math> is the set of integers in ''A'' divisible by ''d'', and ''S(A, P)'' is defined to be:
| |
| | |
| :<math>S(A, P) = |\{n: n \in A, (n, P) = 1\}|</math>
| |
| | |
| i.e. ''S''(''A'', ''P'') is the count of numbers in ''A'' with no factors common with ''P''.
| |
| | |
| Note that in the most typical case, ''A'' is all integers less than or equal to some real number ''X'', ''P'' is the product of all primes less than or equal to some integer ''z'' < ''X'', and then the Legendre identity becomes:
| |
| | |
| : <math>
| |
| \begin{align}
| |
| S(A,P) & = \sum_{d\mid P}\mu(d)\left\lfloor\frac{X}{d}\right\rfloor \\
| |
| & = [X] - \sum_{p_1 < z} \left\lfloor\frac{X}{p_1}\right\rfloor + \sum_{p_1 < p_2 < z} | |
| \left\lfloor\frac{X}{p_1p_2}\right\rfloor - \sum_{p_1 < p_2 < p_3 < z}
| |
| \left\lfloor\frac{X}{p_1p_2p_3}\right\rfloor + \cdots
| |
| \end{align}
| |
| </math>
| |
| | |
| (where <math>\lfloor X \rfloor</math> denotes the [[floor function]]). In this example the fact that the Legendre identity is derived from the Sieve of Eratosthenes is clear: the first term is the number of integers below ''X'', the second term removes the multiples of all primes, the third term adds back the multiples of two primes (which were miscounted by being "crossed out twice"), and so on until all <math>2^{\pi(z)}</math> (where <math>\pi(z)</math> denotes the number of primes below ''z'') combinations of primes have been covered.
| |
| | |
| Once ''S''(''A'', ''P'') has been calculated for this special case, it can be used to bound <math>\pi(X)</math> using the expression
| |
| | |
| :<math>S(A,P) \geq \pi(X) - \pi(z) + 1, \, </math>
| |
| | |
| which follows immediately from the definition of ''S''(''A'', ''P'').
| |
| | |
| ==Limitations==
| |
| Unfortunately, the Legendre sieve has a problem with fractional parts of terms accumulating into a large error, which means the sieve only gives very weak bounds in most cases. For this reason it is almost never used in practice, having been superseded by other techniques such as the [[Brun sieve]] and [[Selberg sieve]]. However, since these more powerful sieves are extensions of the basic ideas of the Legendre sieve, it is useful to first understand how this sieve works.
| |
| | |
| == References == | |
| {{reflist}}
| |
| | |
| {{DEFAULTSORT:Legendre Sieve}}
| |
| [[Category:Sieve theory]]
| |
I'm Christal and I live with my husband and our three children in Steinkjer, in the south area. My hobbies are Target Shooting, Billiards and Target Shooting.
my homepage FIFA 15 coin Hack