Hamming numbers
From Fōrmulæ wiki
This page is the answer to the task Hamming numbers in the Rosetta Code.
Contents
Description (from Rosetta Code)
Hamming numbers are numbers of the form
H = 2^{i} × 3^{j} × 5^{k} where i, j, k ≥ 0 Hamming numbers are also known as ugly numbers and also 5smooth numbers (numbers whose prime divisors are less or equal to 5). Task Generate the sequence of Hamming numbers, in increasing order. In particular:
References
