CHAPTER 5

Number Theory and Modern Algebra

5.1 PRIME NUMBERS

The integer p is a prime integer, if it is divisible only by 1 and itself; otherwise, p is a composite integer. Although there are infinitely many primes, like honest politicians, primes are rare; the number of primes π(n) less than or equal n is o(n). Rosser and Schoenfeld [Rosser et al. 1962, p. 64] wrote that first Legendre (1808) and later Gauss (1849) conjectured that the density of primes should be logarithmic; that is

c05ue001

Rosser and Schoenfeld start with this observation to obtain approximations for sums of the form

c05ue002

The special case f(p) = 1 is the celebrated theorem as follows.

Theorem 5.1. (The prime number theorem).1

The number π(n) of primes less than or equal to n is asymptotic to c05ue003 as n → ∞; that is,

c05ue004

The distance between consecutive primes increases much faster than n as n → ∞ so that the density of primes is 0.

We will state without proof several refinements of the the prime number theorem from [Rosser and Schoenfeld 1962], which we will use in Chapter 16.

Lemma 5.2.

Let n denote the set of primes ≤n.

a) If n ≥ ...

Get Hashing in Computer Science: Fifty Years of Slicing and Dicing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.