Regular number

Uses your system voice; voice and rate in settings.

Snapshot

≈ 9 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

of divisibility relationships among the regular numbers up to 400. The vertical scale is logarithmic. 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, 60 2 = 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 -smooth numbers, the numbers that have no prime factor greater * 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.…

of divisibility relationships among the regular numbers up to 400. The vertical scale is logarithmic. ]] 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, 60 2  = 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 -smooth numbers, the numbers that have no prime factor greater 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. 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\cdot 3^j\cdot 5^k is less than or equal to some threshold N if and only if the point (i,j,k) belongs to the tetrahedron bounded by the coordinate planes and the plane i\ln 2+j\ln 3+k\ln 5\le\ln N, as can be seen by taking logarithms of both sides of the inequality 2^i\cdot 3^j\cdot 5^k\le N . Therefore, the number of regular numbers that are at most N can be estimated as the volume of this tetrahedron, which is \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 is \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) . A similar formula for the number of 3-smooth numbers up to N is given by Srinivasa Ramanujan in his first letter to G. H. Hardy. For instance, consider division by the regular number 54 = 2 1 3 3 . 54 is a divisor of 60 3 , and 60 3 /54 = 4000, so dividing by 54 in sexagesimal can be accomplished by multiplying by 4000 and shifting three places. In sexagesimal 4000 = 1×3600 + 6×60 + 40×1, or (as listed by Joyce) 1:6:40. Thus, 1/54, in sexagesimal, is 1/60 + 6/60 2 + 40/60 3 , also denoted 1:6:40 as Babylonian notational conventions did not specify the power of the starting digit. Conversely 1/4000 = 54/60 3 , so division by 1:6:40 = 4000 can be accomplished by instead multiplying by 54 and shifting three sexagesimal places. The Babylonians used tables of reciprocals of regular numbers, some of which still survive. These tables existed relatively unchanged throughout Babylonian times. One tablet from Seleucid times, by someone named Inaqibıt-Anu, contains the reciprocals of 136 of the 231 six-place regular numbers whose first place is 1 or 2, listed in order. It also includes reciprocals of some numbers of more than six places, such as 3 (2,1,4,8,3,0,27 in sexagesimal), whose reciprocal has 17 sexagesimal digits. Noting the difficulty of both calculating these numbers and sorting them, Donald Knuth in 1972 hailed Inaqibıt-Anu as "the first man in history to solve a computational problem that takes longer than one second of time on a modern electronic computer!" (Two tables are also known giving approximations of reciprocals of non-regular numbers, one of which gives reciprocals for all the numbers from 56 to 80.) Although the primary reason for preferring regular numbers to other numbers involves the finiteness of their reciprocals, some Babylonian calculations other than reciprocals also involved regular numbers. For instance, tables of regular squares have been found and the broken tablet Plimpton 322 has been interpreted by Neugebauer as listing Pythagorean triples ( p^2 - q^2,\, 2pq,\, p^2 + q^2 ) generated by p and q both regular and less than 60. Fowler and Robson discuss the calculation of square roots, such as how the Babylonians found an approximation to the square root of 2, perhaps using regular number approximations of fractions such as 17/12. ==Algorithms== Algorithms for calculating the regular numbers in ascending order were popularized by Edsger Dijkstra. attributes to Hamming the problem of building the infinite ascending sequence of all 5-smooth numbers; this problem is now known as Hamming's problem, and the numbers so generated are also called the Hamming numbers. Dijkstra's ideas to compute these numbers are the following: The sequence of Hamming numbers begins with the number 1. The remaining values in the sequence are of the form 2h , 3h , and 5h , where h is any Hamming number. Therefore, the sequence H may be generated by outputting the value 1, and then merging the sequences 2H , 3H , and 5H . This algorithm is often used to demonstrate the power of a lazy functional programming language, because (implicitly) concurrent efficient implementations, using a constant number of arithmetic operations per generated value, are easily constructed as described above. Similarly efficient strict functional or imperative sequential implementations are also possible whereas explicitly concurrent generative solutions might be non-trivial. In the Python programming language, lazy functional code for generating regular numbers is used as one of the built-in tests for correctness of the language's implementation. A related problem, discussed by , is to list all k -digit sexagesimal numbers in ascending order (see #Babylonian mathematics above). In algorithmic terms, this is equivalent to generating (in order) the subsequence of the infinite sequence of regular numbers, ranging from 60^k to 60^{k+1} . See for an early description of computer code that generates these numbers out of order and then sorts them; Knuth describes an ad hoc algorithm, which he attributes to , for generating the six-digit numbers more quickly but that does not generalize in a straightforward way to larger values of k . describes an algorithm for computing tables of this type in linear time for arbitrary values of k . Book VIII of Plato's Republic involves an allegory of marriage centered on the highly regular number 60 4 = 12,960,000 and its divisors (see Plato's number). Later scholars have invoked both Babylonian mathematics and music theory in an attempt to explain this passage. Certain species of bamboo release large numbers of seeds in synchrony (a process called masting) at intervals that have been estimated as regular numbers of years, with different intervals for different species, including examples with intervals of 10, 15, 16, 30, 32, 48, 60, and 120 years. It has been hypothesized that the biological mechanism for timing and synchronizing this process lends itself to smooth numbers, and in particular in this case to 5-smooth numbers. Although the estimated masting intervals for some other species of bamboo are not regular numbers of years, this may be explainable as measurement error. ==External links== Table of reciprocals of regular numbers up to 3600 from the web site of Professor David E. Joyce, Clark University. RosettaCode Generation of Hamming_numbers in ~ 50 programming languages

Text derived from https://en.wikipedia.org/w/index.php?oldid=1375260639 under CC BY-SA 4.0; modifications have been made.

Sources cited in this revision

Extracted from the cited revision's reference blocks; absent citations are not invented.