Smooth number (source code)

= Smooth number
{title2=$P^+(n)\leq y$}
{wiki}

= Generalized Hamming number
{synonym}

For a real bound $y\geq2$, a <positive integer> is $y$-smooth when every <prime factor> is at most $y$. Thus $72=2^3 3^2$ is three-smooth, while $70=2\cdot5\cdot7$ is not. The number one is smooth for every such bound because it has no <prime factors>.

Equivalently, a $y$-smooth number is $\prod_{p\leq y}p^{e_p}$ with <nonnegative integer> <prime exponents>. The <fundamental theorem of arithmetic> makes this representation unique. Consequently two three-smooth numbers multiply to another three-smooth number, but adding them need not preserve the property: $1+6=7$.

<Smooth numbers> are useful in <integer factorization>: a number factoring entirely over a small <factor base> can be recorded by a finite <exponent vector>, and matching exponent <parities> produces a <congruence of squares>.