5smooth
5smooth numbers, also called 5-smooth numbers, are positive integers whose prime factors are only 2, 3, and 5. Equivalently, they are numbers that can be written in the form 2^a 3^b 5^c with nonnegative integers a, b, and c. They are a subset of the broader class of smooth numbers and are sometimes referred to as Hamming numbers.
The sequence begins as 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18,
A common way to generate 5-smooth numbers in increasing order is the three-pointer method. Start with the
In mathematics, 5-smooth numbers illustrate the broader concept of smooth numbers (numbers with restricted prime factors)