Smooth number explained

In number theory, an n-smooth (or n-friable) number is an integer whose prime factors are all less than or equal to n.[1] [2] For example, a 7-smooth number is a number in which every prime factor is at most 7. Therefore, 49 = 72 and 15750 = 2 × 32 × 53 × 7 are both 7-smooth, while 11 and 702 = 2 × 33 × 13 are not 7-smooth. The term seems to have been coined by Leonard Adleman.[3] Smooth numbers are especially important in cryptography, which relies on factorization of integers. 2-smooth numbers are simply the powers of 2, while 5-smooth numbers are also known as regular numbers.

Definition

A positive integer is called B-smooth if none of its prime factors are greater than B. For example, 1,620 has prime factorization 22 × 34 × 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 2a × 3b × 5c, 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;[4] 7-smooth numbers are also called humble numbers,[5] and sometimes called highly composite,[6] although this conflicts with another meaning of highly composite numbers.

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 Bp. In many scenarios B is prime, but composite numbers are permitted as well. A number is B-smooth if and only if 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 (FFT) algorithms (such as the Cooley–Tukey FFT algorithm), 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.[7] They are also important in music theory (see Limit (music)),[8] and the problem of generating these numbers efficiently has been used as a test problem for functional programming.[9]

Smooth numbers have a number of applications to cryptography.[10] While most applications center around cryptanalysis (e.g. the fastest known integer factorization algorithms, for example: General number field sieve algorithm), the VSH hash function is another example of a constructive use of smoothness to obtain a provably secure design.

Distribution

Let

\Psi(x,y)

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

\Psi(x,B)

:

\Psi(x,B)\sim

1
\pi(B)!

\prodp\le

logx
logp

.

where

\pi(B)

denotes the number of primes less than or equal to

B

.

Otherwise, define the parameter u as u = log x / log y: that is, x = yu. Then,

\Psi(x,y)=x\rho(u)+O\left(

x
logy

\right)

where

\rho(u)

is the Dickman function.

For any k, almost all natural numbers will not be k-smooth.

If

n=n1n2

where

n1

is

B

-smooth and

n2

is not (or is equal to 1), then

n1

is called the

B

-smooth part of

n

. The relative size of the

x1/u

-smooth part of a random integer less than or equal to

x

is known to decay much more slowly than

\rho(u)

.[11]

Powersmooth numbers

Further, m is called n-powersmooth (or n-ultrafriable) if all prime powers

p\nu

dividing m satisfy:

p\nu\leqn.

For example, 720 (24 × 32 × 51) is 5-smooth but not 5-powersmooth (because there are several prime powers greater than 5, e.g.

32=9\nleq5

and

24=16\nleq5

). It is 16-powersmooth since its greatest prime factor power is 24 = 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 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. As n increases, the performance of the algorithm or method in question degrades rapidly. For example, the Pohlig–Hellman algorithm for computing discrete logarithms has a running time of O(n1/2)—for groups of n-smooth order.

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 A1 =, A2 =, and

Z

, however it would not be smooth over the set A3 =, as 12 contains the factor 4 = 22, and neither 4 nor 2 are in A3.

\phi:Z[\theta]\toZ/nZ

.[12]

See also

Notes and references

  1. Web site: P-Smooth Numbers or P-friable Number. 2018-02-12. GeeksforGeeks. en-US. 2019-12-12.
  2. Web site: Smooth Number. Weisstein. Eric W.. mathworld.wolfram.com. en. 2019-12-12.
  3. Book: M. E.. Hellman. Martin Hellman. J. M.. Reyneri . Advances in Cryptology – Proceedings of Crypto 82. Fast Computation of Discrete Logarithms in GF (q) . 1983. 3–13. 10.1007/978-1-4757-0602-4_1. 978-1-4757-0604-8.
  4. Web site: Python: Get the Hamming numbers upto a given numbers also check whether a given number is an Hamming number. w3resource. en. 2019-12-12.
  5. Web site: Problem H: Humble Numbers. www.eecs.qmul.ac.uk. 2019-12-12.
  6. 7-smooth numbers.
  7. .
  8. .
  9. .
  10. David. Naccache. Igor . Shparlinski. Divisibility, Smoothness and Cryptographic Applications. 17 October 2008. eprint.iacr.org. 0810.2067 . 26 July 2017. f
  11. Kim. Taechan. Tibouchi. Mehdi. Invalid Curve Attacks in a GLS Setting. IWSEC 2015. 2015.
  12. Web site: An Introduction to the General Number Field Sieve. Matthew E.. Briggs. Virginia Polytechnic Institute and State University. math.vt.edu. 17 April 1998. Blacksburg, Virginia. 26 July 2017.

Bibliography

External links

The On-Line Encyclopedia of Integer Sequences (OEIS)lists B-smooth numbers for small Bs: