In
number theory
Number theory (or arithmetic or higher arithmetic in older usage) is a branch of pure mathematics devoted primarily to the study of the integers and integer-valued functions. German mathematician Carl Friedrich Gauss (1777–1855) said, "Math ...
, an ''n''-smooth (or ''n''-friable) number is an
integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
whose
prime factor
A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
s are all less than or equal to ''n''. For example, a 7-smooth number is a number whose every prime factor is at most 7, so 49 = 7
2 and 15750 = 2 × 3
2 × 5
3 × 7 are both 7-smooth, while 11 and 702 = 2 × 3
3 × 13 are not 7-smooth. The term seems to have been coined by
Leonard Adleman
Leonard Adleman (born December 31, 1945) is an American computer scientist. He is one of the creators of the RSA encryption algorithm, for which he received the 2002 Turing Award, often called the Nobel prize of Computer science. He is also know ...
. Smooth numbers are especially important in
cryptography
Cryptography, or cryptology (from grc, , translit=kryptós "hidden, secret"; and ''graphein'', "to write", or ''-logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of adve ...
, which relies on factorization of integers. The 2-smooth numbers are just the
powers of 2, while 5-smooth numbers are known as
regular number
Regular numbers are numbers that evenly divide powers of 60 (or, equivalently, powers of 30). Equivalently, they are the numbers whose only prime divisors are 2, 3, and 5. As an example, 602 = 3600 = 48 ×&nb ...
s.
Definition
A
positive
Positive is a property of positivity and may refer to:
Mathematics and science
* Positive formula, a logical formula not containing negation
* Positive number, a number that is greater than 0
* Plus sign, the sign "+" used to indicate a posi ...
integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
is called
B-smooth if none of its
prime factor
A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
s are greater than
B. For example, 1,620 has prime factorization 2
2 × 3
4 × 5; therefore 1,620 is 5-smooth because none of its prime factors are greater than 5. This definition includes numbers that lack some of the smaller prime factors; for example, both 10 and 12 are 5-smooth, even though they miss out the prime factors 3 and 5, respectively. All 5-smooth numbers are of the form 2
''a'' × 3
''b'' × 5
''c'', where ''a'', ''b'' and ''c'' are non-negative integers.
The 3-smooth numbers have also been called "harmonic numbers", although that name has other more widely used meanings.
5-smooth numbers are also called
regular numbers or Hamming numbers; 7-smooth numbers are also called humble numbers, and sometimes called ''highly composite'', although this conflicts with another meaning of
highly composite numbers
__FORCETOC__
A highly composite number is a positive integer with more divisors than any smaller positive integer has. The related concept of largely composite number refers to a positive integer which has at least as many divisors as any smaller ...
.
Here, note that
B itself is not required to appear among the factors of a
B-smooth number. If the largest prime factor of a number is
p then the number is
B-smooth for any
B ≥
p. In many scenarios
B is
prime
A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only way ...
, but
composite number
A composite number is a positive integer that can be formed by multiplying two smaller positive integers. Equivalently, it is a positive integer that has at least one divisor other than 1 and itself. Every positive integer is composite, prime, ...
s are permitted as well. A number is
B-smooth
if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false.
The connective is bi ...
it is
p-smooth, where
p is the largest prime less than or equal to
B.
Applications
An important practical application of smooth numbers is the
fast Fourier transform
A fast Fourier transform (FFT) is an algorithm that computes the discrete Fourier transform (DFT) of a sequence, or its inverse (IDFT). Fourier analysis converts a signal from its original domain (often time or space) to a representation in t ...
(FFT) algorithms (such as the
Cooley–Tukey FFT algorithm
The Cooley–Tukey algorithm, named after J. W. Cooley and John Tukey, is the most common fast Fourier transform (FFT) algorithm. It re-expresses the discrete Fourier transform (DFT) of an arbitrary composite size N = N_1N_2 in terms of ''N''1 ...
), which operates by recursively breaking down a problem of a given size ''n'' into problems the size of its factors. By using ''B''-smooth numbers, one ensures that the base cases of this recursion are small primes, for which efficient algorithms exist. (Large prime sizes require less-efficient algorithms such as
Bluestein's FFT algorithm
The chirp Z-transform (CZT) is a generalization of the discrete Fourier transform (DFT). While the DFT samples the Z plane at uniformly-spaced points along the unit circle, the chirp Z-transform samples along spiral arcs in the Z-plane, correspon ...
.)
5-smooth or
regular number
Regular numbers are numbers that evenly divide powers of 60 (or, equivalently, powers of 30). Equivalently, they are the numbers whose only prime divisors are 2, 3, and 5. As an example, 602 = 3600 = 48 ×&nb ...
s play a special role in
Babylonian mathematics
Babylonian mathematics (also known as ''Assyro-Babylonian mathematics'') are the mathematics developed or practiced by the people of Mesopotamia, from the days of the early Sumerians to the centuries following the fall of Babylon in 539 BC. Bab ...
. They are also important in
music theory (see
Limit (music)
In music theory, limit or harmonic limit is a way of characterizing the harmony found in a piece or genre of music, or the harmonies that can be made using a particular scale. The term ''limit'' was introduced by Harry Partch, who used it to give ...
), and the problem of generating these numbers efficiently has been used as a test problem for
functional programming
In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions. It is a declarative programming paradigm in which function definitions are trees of expressions that ...
.
Smooth numbers have a number of applications to cryptography. While most applications center around
cryptanalysis (e.g. the fastest known
integer factorization algorithms, for example:
General number field sieve
In number theory, the general number field sieve (GNFS) is the most efficient classical algorithm known for factoring integers larger than . Heuristically, its complexity for factoring an integer (consisting of bits) is of the form
:\exp\le ...
algorithm), the
VSH hash function is another example of a constructive use of smoothness to obtain a
provably secure design.
Distribution
Let
denote the number of ''y''-smooth integers less than or equal to ''x'' (the de Bruijn function).
If the smoothness bound ''B'' is fixed and small, there is a good estimate for
:
:
where
denotes
the number of primes less than or equal to .
Otherwise, define the parameter ''u'' as ''u'' = log ''x'' / log ''y'': that is, ''x'' = ''y''
''u''. Then,
:
where
is the
Dickman function.
The average size of the smooth part of a number of given size is known as
, and it is known to decay much more slowly than
.
For any ''k'',
almost all
In mathematics, the term "almost all" means "all but a negligible amount". More precisely, if X is a set, "almost all elements of X" means "all elements of X but those in a negligible subset of X". The meaning of "negligible" depends on the mathem ...
natural numbers will not be ''k''-smooth.
Powersmooth numbers
Further, ''m'' is called ''B''-powersmooth (or ''B''-ultrafriable) if all prime ''powers''
dividing ''m'' satisfy:
:
For example, 720 (2
4 × 3
2 × 5
1) is 5-smooth but not 5-powersmooth (because there are several prime powers greater than 5, ''e.g.''
and
). It is 16-powersmooth since its greatest prime factor power is 2
4 = 16. The number is also 17-powersmooth, 18-powersmooth, etc.
''B''-smooth and ''B''-powersmooth numbers have applications in number theory, such as in
Pollard's ''p'' − 1 algorithm and
ECM
ECM may refer to:
Economics and commerce
* Engineering change management
* Equity capital markets
* Error correction model, an econometric model
* European Common Market
Mathematics
* Elliptic curve method
* European Congress of Mathematics
...
. Such applications are often said to work with "smooth numbers," with no ''B'' specified; this means the numbers involved must be ''B''-powersmooth, for some unspecified small number ''B. A''s ''B'' increases, the performance of the algorithm or method in question degrades rapidly. For example, the
Pohlig–Hellman algorithm for computing
discrete logarithm
In mathematics, for given real numbers ''a'' and ''b'', the logarithm log''b'' ''a'' is a number ''x'' such that . Analogously, in any group ''G'', powers ''b'k'' can be defined for all integers ''k'', and the discrete logarithm log' ...
s has a running time of
O(''B''
1/2)—for
groups of ''B''-smooth
order
Order, ORDER or Orders may refer to:
* Categorization, the process in which ideas and objects are recognized, differentiated, and understood
* Heterarchy, a system of organization wherein the elements have the potential to be ranked a number of d ...
.
Smooth over a set ''A''
Moreover, ''m'' is said to be smooth over a
set ''A'' if there exists a factorization of ''m'' where the factors are powers of elements in ''A''. For example, since 12 = 4 × 3, 12 is smooth over the sets ''A''
1 = , ''A''
2 = , and
, however it would not be smooth over the set ''A''
3 = , as 12 contains the factor 4 = 2
2, which is not in ''A''
3.
Note the set ''A'' does not have to be a set of prime factors, but it is typically a proper
subset
In mathematics, set ''A'' is a subset of a set ''B'' if all elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they are unequal, then ''A'' is a proper subset o ...
of the primes as seen in the
factor base In computational number theory, a factor base is a small set of prime numbers commonly used as a mathematical tool in algorithms involving extensive sieving for potential factors of a given integer.
Usage in factoring algorithms
A factor base is a ...
of
Dixon's factorization method and the
quadratic sieve. Likewise, it is what the
general number field sieve
In number theory, the general number field sieve (GNFS) is the most efficient classical algorithm known for factoring integers larger than . Heuristically, its complexity for factoring an integer (consisting of bits) is of the form
:\exp\le ...
uses to build its notion of smoothness, under the
homomorphism
In algebra, a homomorphism is a structure-preserving map between two algebraic structures of the same type (such as two groups, two rings, or two vector spaces). The word ''homomorphism'' comes from the Ancient Greek language: () meaning "sa ...
.
See also
*
Highly composite number
*
Rough number
*
Round number
*
Størmer's theorem
*
Unusual number
In number theory, an unusual number is a natural number ''n'' whose largest prime factor is strictly greater than \sqrt.
A ''k''-smooth number has all its prime factors less than or equal to ''k'', therefore, an unusual number is non-\sqrt-smoo ...
Notes and references
Bibliography
* G. Tenenbaum, ''Introduction to analytic and probabilistic number theory'', (AMS, 2015)
*
A. Granville''Smooth numbers: Computational number theory and beyond'' Proc. of MSRI workshop, 2008
External links
*
The
On-Line Encyclopedia of Integer Sequences
The On-Line Encyclopedia of Integer Sequences (OEIS) is an online database of integer sequences. It was created and maintained by Neil Sloane while researching at AT&T Labs. He transferred the intellectual property and hosting of the OEIS to ...
(OEIS)
lists ''B''-smooth numbers for small ''B''s:
* 2-smooth numbers:
A000079 (2
''i'')
* 3-smooth numbers:
A003586 (2
''i''3
''j'')
* 5-smooth numbers:
A051037 (2
''i''3
''j''5
''k'')
* 7-smooth numbers:
A002473 (2
''i''3
''j''5
''k''7
''l'')
* 11-smooth numbers:
A051038 (etc...)
* 13-smooth numbers:
A080197
* 17-smooth numbers:
A080681
* 19-smooth numbers:
A080682
* 23-smooth numbers:
A080683
{{Classes of natural numbers
Analytic number theory
Integer sequences