In
number theory
Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
, an ''n''-smooth (or ''n''-friable) number is an
integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
whose
prime factors are all less than or equal to ''n''. For example, a 7-smooth number is a number in which every prime factor is at most 7. Therefore, 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. He is also known for the creation of the field of DNA computin ...
. Smooth numbers are especially important in
cryptography
Cryptography, or cryptology (from "hidden, secret"; and ''graphein'', "to write", or ''-logy, -logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of Adversary (cryptography), ...
, which relies on factorization of integers. 2-smooth numbers are simply the
powers of 2
A power of two is a number of the form where is an integer, that is, the result of exponentiation with number two as the base and integer as the exponent. In the fast-growing hierarchy, is exactly equal to f_1^n(1). In the Hardy hi ...
, while 5-smooth numbers are also known as
regular numbers.
Definition
A
positive integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
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, most notably for
the sum of the reciprocals of the natural numbers.
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
A highly composite number is a positive integer that has more divisors than all smaller positive integers. If ''d''(''n'') denotes the number of divisors of a positive integer ''n'', then a positive integer ''N'' is highly composite if ''d''(' ...
.
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 ways ...
, but
composite number
A composite number is a positive integer that can be formed by multiplying two smaller positive integers. Accordingly it is a positive integer that has at least one divisor other than 1 and itself. Every positive integer is composite, prime numb ...
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" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
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). A Fourier transform converts a signal from its original domain (often time or space) to a representation in ...
(FFT) algorithms (such as the
Cooley–Tukey FFT algorithm
The Cooley–Tukey algorithm, named after James Cooley, 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 number, composite size ...
), 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.)
5-smooth or
regular numbers play a special role in
Babylonian mathematics
Babylonian mathematics (also known as Assyro-Babylonian mathematics) is the mathematics developed or practiced by the people of Mesopotamia, as attested by sources mainly surviving from the Old Babylonian period (1830–1531 BC) to the Seleucid ...
. They are also important in
music theory
Music theory is the study of theoretical frameworks for understanding the practices and possibilities of music. ''The Oxford Companion to Music'' describes three interrelated uses of the term "music theory": The first is the "Elements of music, ...
(see
Limit (music)
In music theory, limits or harmonic limits are 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 t ...
), 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 Function application, applying and Function composition (computer science), composing Function (computer science), functions. It is a declarat ...
.
Smooth numbers have a number of applications to cryptography. While most applications center around
cryptanalysis
Cryptanalysis (from the Greek ''kryptós'', "hidden", and ''analýein'', "to analyze") refers to the process of analyzing information systems in order to understand hidden aspects of the systems. Cryptanalysis is used to breach cryptographic se ...
(e.g. the fastest known
integer factorization
In mathematics, integer factorization is the decomposition of a positive integer into a product of integers. Every positive integer greater than 1 is either the product of two or more integer factors greater than 1, in which case it is a comp ...
algorithms, for example: 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
:
\begin
& ...
), 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.
For any ''k'',
almost all
In mathematics, the term "almost all" means "all but a negligible quantity". More precisely, if X is a set (mathematics), set, "almost all elements of X" means "all elements of X but those in a negligible set, negligible subset of X". The meaning o ...
natural numbers will not be ''k''-smooth.
If
where
is
-smooth and
is not (or is equal to 1), then
is called the
-smooth part of
. The relative size of the
-smooth part of a random integer less than or equal to
is known to decay much more slowly than
.
Powersmooth numbers
Further, ''m'' is called ''n''-powersmooth (or ''n''-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.
Unlike ''n''-smooth numbers, for any positive integer ''n'' there are only finitely many ''n''-powersmooth numbers, in fact, the ''n''-powersmooth numbers are exactly the positive divisors of “the
least common multiple
In arithmetic and number theory, the least common multiple (LCM), lowest common multiple, or smallest common multiple (SCM) of two integers ''a'' and ''b'', usually denoted by , is the smallest positive integer that is divisible by both ''a'' and ...
of 1, 2, 3, …, ''n''” , e.g. the 9-powersmooth numbers (also the 10-powersmooth numbers) are exactly the positive divisors of 2520.
''n''-smooth and ''n''-powersmooth numbers have applications in number theory, such as in
Pollard's ''p'' − 1 algorithm and
ECM. Such applications are often said to work with "smooth numbers," with no ''n'' specified; this means the numbers involved must be ''n''-powersmooth, for some unspecified small number ''n. A''s ''n'' 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 b^x=a. Analogously, in any group G, powers b^k can be defined for all integers k, and the discrete logarithm \log_b(a) is an integer k such that b^k=a ...
s has a running time of
O(''n''
1/2)—for
group
A group is a number of persons or things that are located, gathered, or classed together.
Groups of people
* Cultural group, a group whose members share the same cultural identity
* Ethnic group, a group whose members share the same ethnic iden ...
s of ''n''-smooth
order
Order, ORDER or Orders may refer to:
* A socio-political or established or existing order, e.g. World order, Ancien Regime, Pax Britannica
* Categorization, the process in which ideas and objects are recognized, differentiated, and understood
...
.
Smooth over a set ''A''
Moreover, ''m'' is said to be smooth over a
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
''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, and neither 4 nor 2 are 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, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), 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 a ...
of the primes as seen in the
factor base 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
:
\begin
& ...
uses to build its notion of smoothness, under the
homomorphism
In algebra, a homomorphism is a morphism, structure-preserving map (mathematics), map between two algebraic structures of the same type (such as two group (mathematics), groups, two ring (mathematics), rings, or two vector spaces). The word ''homo ...
.
See also
*
Highly composite number
A highly composite number is a positive integer that has more divisors than all smaller positive integers. If ''d''(''n'') denotes the number of divisors of a positive integer ''n'', then a positive integer ''N'' is highly composite if ''d''(' ...
*
Rough number
A ''k''-rough number, as defined by Finch in 2001 and 2003, is a positive integer whose prime factors are all greater than or equal to ''k''. ''k''-roughness has alternately been defined as requiring all prime factors to strictly exceed ''k''.p. 13 ...
*
Round number
A round number is an integer that ends with one or more "0 (number), 0"s (zero-digit) in a given Radix, base. So, 590 is rounder than 592, but 590 is less round than 600. In both technical and informal language, a round number is often interpret ...
*
Størmer's theorem
*
Unusual number
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 th ...
(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