Definition
A positive integer is called -smooth if all of its prime factors are at most .
For example,
is -smooth, because its only prime factors are and . The integer
is -smooth, but not -smooth.
Smooth numbers are integers whose prime factors are small relative to their size. They form a sparse but highly structured subset of the positive integers.
The Smooth Counting Function
The main counting function for smooth numbers is
This function asks how many integers up to have no prime factor larger than .
The behavior of depends on the relation between and . If , then every integer up to is -smooth. If is small, smooth numbers become rare.
A useful parameter is
Equivalently,
Large means that is small compared with , so smoothness is a strong condition.
The Dickman Function
The density of smooth numbers is governed by the Dickman function .
Roughly,
The function is defined by
and for , by the differential-delay equation
This function decreases rapidly as grows. It measures the probability that a random integer near has all prime factors at most .
Heuristic Interpretation
A random integer near usually has some prime factors of moderate or large size. Requiring all prime factors to be at most imposes many restrictions at once.
If
then . A -smooth integer has no prime factor larger than . This excludes primes near , but still leaves many composite numbers.
If
then . Smoothness is much rarer, because every prime factor must be quite small.
The Dickman function makes this heuristic precise in many ranges.
Smooth Numbers and Factorization
Smooth numbers are central in integer factorization algorithms.
Many factorization methods seek relations of the form
To construct such relations, one often searches for integers whose residues factor completely over a small factor base.
For example, the quadratic sieve studies values
If many values of are smooth, their prime factorizations can be combined through linear algebra over . This eventually produces a congruence of squares and may reveal a nontrivial factor of .
Thus the efficiency of factorization algorithms depends directly on the frequency of smooth numbers.
Factor Bases
A factor base is a chosen list of small primes
An integer is smooth over this factor base if it factors entirely into these primes.
For example, relative to the factor base
the integer
is smooth, while
is not.
Factor bases turn multiplicative arithmetic into linear algebra. Once a smooth integer is factored over the base, its exponent vector
records the powers of the primes. Reducing this vector modulo allows one to detect products that become squares.
Smoothness Probability
The probability that a random integer near is -smooth is approximately
This probability controls the expected running time of many algorithms.
If smooth values are too rare, the algorithm spends too much time searching. If the factor base is too large, linear algebra becomes expensive.
Practical algorithms must balance these costs.
This balance is one reason smooth numbers are so important in computational number theory: they determine the tradeoff between relation collection and matrix solving.
Powers and Multiplicative Structure
Smooth numbers are multiplicatively rich. If and are -smooth, then
is also -smooth.
This closure under multiplication makes them useful in algorithms and algebraic constructions.
However, smooth numbers are not closed under addition. The sum of two smooth numbers may have a large prime factor.
This asymmetry reflects the fundamentally multiplicative nature of smoothness.
Friable Integers
Smooth numbers are also called friable integers, especially in analytic number theory.
The term emphasizes that such integers break apart into small prime pieces.
Analytic questions about friable integers include:
- estimating ,
- studying smooth numbers in arithmetic progressions,
- counting smooth values of polynomials,
- understanding gaps between smooth numbers.
These questions are technically subtle because smoothness depends on complete prime factorization.
Smooth Values of Polynomials
Many algorithms and conjectures concern smooth values of polynomial expressions.
For example, one may ask how often
is -smooth for a polynomial .
This is much harder than studying random integers, because polynomial values have arithmetic biases.
In the number field sieve, one searches for simultaneous smoothness in rational and algebraic values. The success of the method depends on finding enough such values.
Smooth Numbers in Cryptography
Smoothness can weaken cryptographic systems.
For example, Pollard’s method factors an integer efficiently if some prime divisor has
smooth.
Similarly, discrete logarithm algorithms often exploit smooth group orders or smooth auxiliary structures.
Therefore cryptographic parameter generation usually avoids primes for which nearby arithmetic quantities factor too smoothly.
Rough Numbers
The opposite of a smooth number is often called a rough number.
An integer is -rough if all of its prime factors are greater than .
Rough numbers also appear in sieve theory. While smooth numbers are built only from small primes, rough numbers avoid all small primes.
Both concepts measure how prime factors are distributed across size ranges.
Conceptual Importance
Smooth numbers connect the statistical behavior of prime factors with explicit computation.
They appear naturally in:
- integer factorization,
- discrete logarithm algorithms,
- sieve methods,
- probabilistic number theory,
- cryptographic security analysis.
Their importance comes from a simple fact: small prime factors are easy to handle. When an integer factors entirely into small primes, it becomes computationally tractable.
Smooth numbers therefore form one of the main bridges between analytic estimates and practical algorithms in modern number theory.