Skip to main content

Chapter 12 Revisiting the sieve of Eratosthenes

This unit begins the second part of the course, in which we will investigate a class of methods in analytic number theory known as sieve. Whereas the first part of the course leaned heavily on methods from complex analysis, here the emphasis will be more combinatorial.
Note: in non-mathematical English, a sieve is a device through which you pour a powder, like flour, to filter out large impurities. This process is called sifting, though in mathematical usage the term sieving is also used.

Section 12.1 The Sieve of Eratosthenes

\(\{2, \dots, n\}\text{,}\)\(p\text{,}\)\(2p, 3p, \dots\)\(n\text{.}\)\(n^{1/2}\)\(n^\alpha\text{,}\)\(n^\alpha\text{.}\)\(\lfloor \alpha^{-1} \rfloor\)

Section 12.2 The principle of inclusion-exclusion

\(S\)\(P_1, \dots, P_n\)\(S\text{.}\)\(P_i\)\(S\)\(P_i\text{,}\)\(P_i\text{.}\)
\begin{equation*} \#(S \setminus (P_1 \cup \cdots \cup P_n)) = \sum_{T \subseteq \{1,\dots,n\}} (-1)^{\#T} \# \left( \bigcap_{t \in T} P_t \right). \end{equation*}
\(s \in S\)\(m\)
\begin{equation*} \binom{m}{0} - \binom{m}{1} + \cdots \end{equation*}
\(m=0\)\(f: S \to \CC\)\(f\)\(P_i\text{,}\)
\begin{equation*} \sum_{s \in S \setminus (P_1 \cup \cdots \cup P_n)} f(s) = \sum_{T \subseteq \{1,\dots,n\}} (-1)^{\#T} \left( \sum_{s \in \cap_{t \in T} P_t} f(s) \right). \end{equation*}
\(S = \{1, \dots, N\}\)\(P_1, P_2, \dots\)\(\mu\text{,}\)
\begin{equation*} \mu(n) = \begin{cases} (-1)^d \amp n = p_1\cdots p_d \quad \mbox{( distinct, )} \\ 0 \amp \mbox{otherwise}. \end{cases} \end{equation*}

Section 12.3 Smooth numbers

Before proceeding, we need a quick lemma concerning smooth numbers.

Definition 12.1.

A natural number is \(z\)-smooth if its prime factors are all less than or equal to \(z\text{.}\)
If we expand the right side as a product of geometric series, we get a term \((x/n)^\delta \geq 1\) for each \(z\)-smooth number \(n \leq x\) (among other terms). This yields the claim.

Section 12.4 Back to Eratosthenes

\(A\)\(P\)
\begin{equation*} P(z) = \prod_{p \in P, p \leq z} p. \end{equation*}
\(p \in P\text{,}\)\(R_p\)\(\omega(p)\)\(p\text{,}\)\(A_p\)\(A\)
\begin{equation*} W(z) = \prod_{p |P(z)} \left( 1 - \frac{\omega(p)}{p} \right), \end{equation*}
\(d\)\(P\text{,}\)\(\omega(d) = \prod_{p|d} \omega(p)\)\(A_d = \cap_{p | d} A_p\text{.}\)\(S(A,P,z)\text{,}\)\(A\)\(A_{p}\)\(p \leq z\text{.}\)\(\kappa > 0\text{,}\)\(z \to \infty\)\(P, R_p, \kappa\text{.}\)
\begin{equation*} \sum_{d \lt t, d |P(z)} \omega(d) = O\left( t (\log z)^\kappa \exp\left( - \frac{\log t}{\log z} \right) \right), \end{equation*}
\(z \to \infty\)\(P, R_p, \kappa\text{.}\)\(C>0\text{.}\)
\begin{equation*} \sum_{d > Cx, d | P(z)} \frac{\omega(d)}{d} = O\left( (\log z)^{\kappa + 1} \exp\left( - \frac{\log x}{\log z} \right) \right), \end{equation*}
\(z \to \infty\)\(P, R_p, \kappa, C\text{.}\)\(F_\omega(t,z)=\sum_{d \lt t, d |P(z)} \omega(d)\text{.}\)\(P, R_p, \kappa\)\(C,c > 0\text{.}\)\(A\)\(X,x>0\)
\begin{equation*} \left|\#A_d - \frac{\omega(d)}{d} X \right| \leq c \omega(d) \end{equation*}
\(\#A_d = 0\)\(d > Cx\text{,}\)
\begin{equation*} S(A,P,z) = X W(z) + O \left( x \log^{\kappa+1} z \exp \left(- \frac{\log x}{\log z} \right) \right), \end{equation*}
\(z \to \infty\text{,}\)\(A,x,X\text{.}\)

Section 12.5 Motivation: the twin prime conjecture

\(p\)\(p+2\)\([1, \dots, N]\)\(1/\log N\text{,}\)\([1,\dots,N]\)\(N/\log^2 N\text{.}\)\(p \leq x\)\(p+2\)\(O(x (\log \log x)^2 / (\log x)^2)\text{.}\)\(A = \{1, \dots, x\}\)\(P = \{p: 2 \lt p \leq z\}\text{.}\)\(p \in P\text{,}\)\(R_p\)\(0,-2\text{,}\)\(\omega(p) = 2\text{.}\)\(d\)\(\omega(d) = 2^{\nu(d)}\)\(\nu(d)\)\(d\text{.}\)
\begin{equation*} \sum_{p\leq z} \frac{\log p}{p} = O(\log z) \end{equation*}
\(\kappa = 2\)
\begin{equation*} S(A,P,z) = x W(z) + O \left( x \log^3 z \exp \left( - \frac{\log x}{\log z} \right) \right), \end{equation*}
\(x\)\(z\text{.}\)
\begin{equation*} \log z = \frac{\log x}{A \log \log x} \end{equation*}
\(A\text{.}\)
\begin{equation*} W(z) \leq \prod_{3 \leq p \leq z} \left(1 - \frac{1}{p} \right)^2 = O( (\log z)^{-2}) \end{equation*}
\(S(A,P,z)= O(x(\log \log x)^2/(\log x)^2)\text{.}\)\(S(A,P,z)\)\(z+2 \leq p \leq x\)\(p+2\)\(x\)\(z = x^{1/(A \log \log x)}\text{,}\)

Exercises 12.6 Exercises

\begin{equation*} \Phi(x,z) = O\left( x \log z \exp \left( - \frac{\log x}{\log z} \right) \right) \end{equation*}
\(z \to \infty\text{,}\)\(x\text{.}\)\(\delta = 1 - (\log z)^{-1}\text{.}\)\(\{1, \dots, N\}\)
\begin{equation*} \frac{6}{\pi^2} N + O(N^{1-\epsilon}) \end{equation*}
\(\epsilon\text{.}\)\(O(N^{1-\epsilon})\)\(6/\pi^2 = 1/\zeta(2) = \prod_p (1 - 1/p^2)\text{.}\)