Factoring Lab

Receipts for factoring ideas: which work, which don’t, and how fast they stop working.

B3 · Methods that workReal, already known

Smooth numbers: the idea the next three methods run on

How often numbers have only small factors, against . The one “pattern” that p − 1, the and all rely on.

The idea

A number is when all its prime factors are at most B. Near x, the share of B-smooth numbers is close to ρ(u) with u = ln x / ln B, ’s function: ρ(2) ≈ 31%, ρ(3) ≈ 4.9%, ρ(5) ≈ 0.035%. p − 1 and need a smooth group order; the needs smooth values of x² − N.

Watch it

The test

Windows of 100,000 consecutive numbers just above x = 10⁶ … 10¹⁸ and bounds B = 10 … 100,000: the measured share of numbers against u = ln x / ln B, next to (u). Windows with fewer than 5 smooth numbers are left out as noise.

Fig. B3.2Share of B-smooth numbers near x against u = ln x / ln B, with Dickman’s ρ(u)

Measuring…