Regular numbers are numbers that evenly divide powers of 60 (or, equivalently, powers of 30). Equivalently, they are the numbers whose only prime divisors are 2, 3, and 5. As an example, 602 = 3600 = 48 × 75, so as divisors of a power of 60 both 48 and 75 are regular. These numbers arise in several areas of mathematics and its applications, and have different names coming from their different areas of study.
In number theory, these numbers are called 5-smooth, because they can be characterized as having only 2, 3, or 5 as their prime factors. This is a specific case of the more general k-smooth numbers, the numbers that have no prime factor greater than k. In the study of Babylonian mathematics, the divisors of powers of 60 are called regular numbers or regular sexagesimal numbers, and are of great importance in this area because of the sexagesimal (base 60) number system that the Babylonians used for writing their numbers, and that was central to Babylonian mathematics. In music theory, regular numbers occur in the ratios of tones in five-limit just intonation. In connection with music theory and related theories of architecture, these numbers have been called the harmonic whole numbers. In computer science, regular numbers are often called Hamming numbers, after Richard Hamming, who proposed the problem of finding computer algorithms for generating these numbers in ascending order. This problem has been used as a test case for functional programming.
Number theory Formally, a regular number is an integer of the form 2 i ⋅ 3 j ⋅ 5 k {\displaystyle 2^{i}\cdot 3^{j}\cdot 5^{k}} , for nonnegative integers i {\displaystyle i} , j {\displaystyle j} , and k {\displaystyle k} . Such a number is a divisor of 60 max ( ⌈ i / 2 ⌉ , j , k ) {\displaystyle 60^{\max(\lceil i\,/2\rceil ,j,k)}} . The regular numbers are also called 5-smooth, indicating that their greatest prime factor is at most 5. More generally, a k-smooth number is a number whose greatest prime factor is at most k. The first few regular numbers are
Several other sequences at the On-Line Encyclopedia of Integer Sequences have definitions involving 5-smooth numbers. Although the regular numbers appear dense within the range from 1 to 60, they are quite sparse among the larger integers. A regular number n = 2 i ⋅ 3 j ⋅ 5 k {\displaystyle n=2^{i}\cdot 3^{j}\cdot 5^{k}} is less than or equal to some threshold N {\displaystyle N} if and only if the point ( i , j , k ) {\displaystyle (i,j,k)} belongs to the tetrahedron bounded by the coordinate planes and the plane
i ln 2 + j ln 3 + k ln 5 ≤ ln N , {\displaystyle i\ln 2+j\ln 3+k\ln 5\leq \ln N,}
as can be seen by taking logarithms of both sides of the inequality 2 i ⋅ 3 j ⋅ 5 k ≤ N {\displaystyle 2^{i}\cdot 3^{j}\cdot 5^{k}\leq N} . Therefore, the number of regular numbers that are at most N {\displaystyle N} can be estimated as the volume of this tetrahedron, which is
log 2 N log 3 N log 5 N 6 . {\displaystyle {\frac {\log _{2}N\,\log _{3}N\,\log _{5}N}{6}}.}
Even more precisely, using big O notation, the number of regular numbers up to N {\displaystyle N} is
( ln ( N 30 ) ) 3 6 ln 2 ln 3 ln 5 + O ( log N ) , {\displaystyle {\frac {\left(\ln(N{\sqrt {30}})\right)^{3}}{6\ln 2\ln 3\ln 5}}+O(\log N),}
and it has been conjectured that the error term of this approximation is actually O ( log log N ) {\displaystyle O(\log \log N)} . A similar formula for the number of 3-smooth numbers up to N {\displaystyle N} is given by Srinivasa Ramanujan in his first letter to G. H. Hardy.
Babylonian mathematics
… excerpt ends here. Continue reading the full article.

![Regular number: A Hasse diagram of divisibility relationships among the regular numbers up to 400. The vertical scale is logarithmic.[1]](https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Regular_divisibility_lattice.svg/1280px-Regular_divisibility_lattice.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
