CTNT 2020: Introduction to Sieves Brandon Alberts University of - - PowerPoint PPT Presentation

ctnt 2020 introduction to sieves
SMART_READER_LITE
LIVE PREVIEW

CTNT 2020: Introduction to Sieves Brandon Alberts University of - - PowerPoint PPT Presentation

CTNT 2020: Introduction to Sieves Brandon Alberts University of Connecticut June 2020 Brandon Alberts CTNT 2020: Introduction to Sieves Introduction Brandon Alberts CTNT 2020: Introduction to Sieves Definition A sieve is a tool for


slide-1
SLIDE 1

CTNT 2020: Introduction to Sieves

Brandon Alberts

University of Connecticut

June 2020

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-2
SLIDE 2

Introduction

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-3
SLIDE 3

Definition A sieve is a tool for separating desired objects from other objects. Examples: A pasta strainer separates pasta from water. Sieves were used during the gold rush to separate gold from sand and dirt. The Sieve of Eratosthenes separates primes numbers from all other numbers.

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-4
SLIDE 4

Sieve of Eratosthenes

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-5
SLIDE 5

Asymptotic Notation and Arithmetic Functions

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-6
SLIDE 6

Definition An arithmetic function is a function f : N

  • C. These functions can be

used to capture and study certain arithmetic behaviors.

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-7
SLIDE 7

Arithmetic functions often have very erratic behavior, which makes them more difficult to deal with using analytic techniques. Consider the divisor function d n # positive divisors of n . (see CoCalc)

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-8
SLIDE 8

We can smooth out the information contained in an arithmetic function by considering the function of a real variable x

n x

d n

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-9
SLIDE 9

Definition Let f x and g x be two functions and let x . We say f x is asymptotic to g x and write f x g x if lim

x

f x g x 1 .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-10
SLIDE 10

Lemma x x

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-11
SLIDE 11

Definition Let f x and g x be function of the real variable x. We define the following: (a) f x is little-oh of g x , written f x

  • g x

, if lim

x

f x g x 0 . In this case, f x is “asymptotically smaller” than g x . (b) f x is big-oh of g x , written f x O g x

  • r f x

g x , if there exists a constant C 0 such that f x C g x for all x

  • x0. Equivalently,

lim sup

x

f x g x . In this case, f x is “asymptotically the same order of magnitude or smaller” than g x . Exercise: If f x g x then f x O g x .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-12
SLIDE 12

Definition We write f x g x O h x to mean f x g x O h x . Similar notation applies to little-oh. Exercise: O h x and o h x are ideals in the ring of functions defined for x sufficiently large. The above notation is then equivalent to stating that f x and g x belong to the same coset when quotienting by the ideal O h x .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-13
SLIDE 13

Lemma x x

main term

O 1

error term

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-14
SLIDE 14

Exercises:

1

f x O g x O f x g x and f x

  • g x
  • f x

g x ,

2

If f x O g x and h x O g x then f x h x O g x ,

3

If f x O g x and g x O h x , then f x O h x .

4

If f x O g x , then

n x f n

O

n x g n

.

5

If f x O g x and y is some real number, then

x y f t dt

O

x y g t dt .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-15
SLIDE 15

Abel Summation

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-16
SLIDE 16

Abel Summation

Theorem Write A x

n x an and suppose f t is a differentiable function on

the interval y, x for y x . Then

y n x

anf n A x f x A y f y

x y

A t f t dt . A t is like a “discrete antiderivative” of an, and we can recognize the familar integration by parts formula with u f t and “dv” an:

y n x

anf n A t f t

x y x y

A t f t dt

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-17
SLIDE 17

Corollary

n x

1 n log x O 1

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-18
SLIDE 18

Theorem

n x

d n x log x O x

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-19
SLIDE 19
slide-20
SLIDE 20

  • bius function

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-21
SLIDE 21

Definition The M¨

  • bius function is defined as follows:

µ n 1 k n

k i 1

pi is a product of k distinct primes

  • therwise

Lemma

d n

µ d 1 n 1 n 1

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-22
SLIDE 22

Theorem (Mobius Inversion) If f n

d n

g d then g n

d n

µ d f n d .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-23
SLIDE 23
slide-24
SLIDE 24

Squarefree numbers

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-25
SLIDE 25

Theorem # squarefree numbers x

n 1

µ n n2 x O x

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-26
SLIDE 26
slide-27
SLIDE 27

Prime Numbers

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-28
SLIDE 28

Theorem (Prime Number Theorem) Let π x # primes p x

p x 1. Then

π x x log x There are variety of proofs of the PNT, the most accessible of which require complex analytic techniques. There does exist an “elementary proof” (i.e. one that does not appeal to complex analysis), but it is too long to treat in this course.

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-29
SLIDE 29

Theorem (Chebysheff’s Theorem) π x O x log x Exercise: π x O x log x if and only if θ x :

p x

log p O x .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-30
SLIDE 30
slide-31
SLIDE 31
slide-32
SLIDE 32

Theorem

p x

log p p log x O 1

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-33
SLIDE 33
slide-34
SLIDE 34
slide-35
SLIDE 35

Corollary

p x

1 p log log x O 1 Exercise: Prove this corollary using Abel Summation with f t log t

1.

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-36
SLIDE 36

Sieve of Eratosthenes

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-37
SLIDE 37

Eratosthenes sieved out numbers divisible by small primes. We can this by considering the function Φ x, z # n x : n is not divisible by any primes z where x and z are positive real numbers. Theorem Φ x, z x

p z

1 1 p O 2z

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-38
SLIDE 38
slide-39
SLIDE 39
slide-40
SLIDE 40

To improve on the error O 2z , consider the function Ψ x, z # n x : if p n then p z

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-41
SLIDE 41

Theorem Ψ x, z x log z exp log x log z

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-42
SLIDE 42
slide-43
SLIDE 43
slide-44
SLIDE 44

Theorem Φ x, z x

p z

1 1 p O x log z 2 exp log x log z

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-45
SLIDE 45

Theorem (Merten’s Theorem)

p z

1 1 p e

γ

log z , where γ is the Euler-Mascheroni constant.

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-46
SLIDE 46

Let A be a set of integers x, P a set of primes, and P z

p P p z

p. For each prime p P, let Ap A be a subset of integers belonging to ω p distinct residue classes modulo p. Define S A, P, z # A

p P z

Ap .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-47
SLIDE 47

If d is a squarefree number divisible by primes of P, define ω d

p d ω p and Ad p d Ap.

Set ω 1 1 and A1 A.

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-48
SLIDE 48

Theorem (The sieve of Eratosthenes) Suppose the following conditions hold: There exists an X such that #Ad ω d d X O ω d , For some κ 0,

p P z

ω p log p p κ log z O 1 , For some y 0, #Ad 0 for every d y. Then S A, P, z XW z O X y log z log z κ

1 exp

log y log z where W z

p P p z

1 ω p p .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-49
SLIDE 49
slide-50
SLIDE 50

Brun’s Sieves

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-51
SLIDE 51

Brun’s sieve is set up in essentially the same way as Eratosthenes. Given some set A of integers x, we have some collection of Ap of elements we want to remove, and measure the size of S A, P, z # A

p P z

Ap .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-52
SLIDE 52

Idea (Punchline of Brun’s results) Under similar, but slightly relaxed, hypotheses to the sieve of Eratosthenes, Burn proves that S A, P, z XW z O better error where X #A and W z

p P z

1 ω p p .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-53
SLIDE 53

Theorem (Brun’s Pure Sieve) Suppose the following conditions hold: There exists an X such that #Ad ω d d X O ω d , There exists a constant C such that ω p C, There exist constants C1 and C2 such that

p P z

ω p p C1 log log z C2, Then S A, P, z XW z

main term

XW z O log z

η log η

O zη log log z

error terms

where η is any positive number (possibly depending on x and z.)

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-54
SLIDE 54

Theorem # p x : p and p 2 are prime x log log x 2 log x 2 .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-55
SLIDE 55

Corollary

p p 2 prime

1 p .

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-56
SLIDE 56

The big idea: truncated M¨

  • bius Inversion

Lemma Let n and r be positive integers with r ν n # distinct prime divisors of n . There exists θ 1 such that

d n

µ n

d n ν d r

µ d θ

d n ν n r 1

µ d

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-57
SLIDE 57
slide-58
SLIDE 58
slide-59
SLIDE 59

The big idea: Replace M¨

  • bius sums with an apporximation

d n

µ d

d n

µ d g d Strategic choices of “lower” and “upper” weight functions give bounds

d P z

µ d gL d #Ad S A, P, z

d P z

µ d gU d #Ad which are easier to count.

Brandon Alberts CTNT 2020: Introduction to Sieves

slide-60
SLIDE 60

Idea (Brun’s Main Theorem) There exist constants c1 and c2 such that S A, P, z c1XW z O zθ and S A, P, z c2XW z O zθ

1 ,

where θ is given explicitely.

Brandon Alberts CTNT 2020: Introduction to Sieves