One of these days, we will get around to studying the history of music, and you will understand why Wagner was the high fructose corn syrup of his century. We still need to work on constructing a foundation for the study of music theory. That requires us to return to number theory, and Euclid.
In an earlier post, we discussed Euclid’s atoms, the prime numbers: https://surakblog.wordpress.com/2021/04/06/euclids-atoms/
The main thrust of that article was to prove what some call Euclid’s theorem: there are infinitely many prime numbers. To be more precise: any finite list of primes excludes some prime number. The first few prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, and 23.
A prime number is defined as a natural number greater than one divisible only by itself and one. You might guess that prime numbers are very important in multiplication, and you would be right. Take the number 60, for example. Is it prime? No, it is composite, in multiple ways. 60 equals 2 times 30, 3 times 20, 4 times 15, 5 times 12, and 6 times 10.
In each of these factorizations, at least one of the factors is also composite, so it too may be factored as a product of smaller numbers. Keep factoring all the factors until you cannot factor any longer. Common sense tells us that the resulting irreducible numbers are prime numbers; otherwise we could continue the factoring process.
But will you and I always get the same list of factors? 60 = 2 x 30 = 2 x 10 x 3 = 2 x 2 x 5 x 3. However, it is also true that 60 = 6 x 10 = 2 x 3 x 2 x 5. The two lists of prime factors are not identical, unless – unless I am allowed to change the order. You can do that in multiplication, just as in addition. If we write the prime factors in order from smallest to largest, we must always get 2 x 2 x 3 x 5, or 2^2 x 3 x 5. (That first factor is 2 squared.)
Euclid’s Fundamental Theorem of Arithmetic states that every natural number can be factored as a product of prime numbers in only one way, assuming the factors are listed in order from smallest to largest. It is an incredibly important statement in number theory, that has major implications for musical scales.
But even though it seems obvious, as in our example, it is really not a triviality. In some of the more advanced number systems in higher mathematics, the Fundamental Theorem of Arithmetic is not true. Euclid’s genius lay in recognizing the importance of the proof, not to mention carrying out the proof.
Along the way, Euclid invented a technique known today as the Euclidean algorithm (a method) which has the reputation of being one of the most efficient algorithms in all of mathematics. It is so easy, however, a child could do it, because all it involves is long division of whole numbers.
For example, suppose we need to determine the greatest common divisor of 30 and 48 (the largest natural number dividing evenly into both 30 and 48). Euclid said: divide the smaller number into the larger – 30 into 48 – and keep track of the remainder. The number we seek is also the greatest common divisor of the remainder and the divisor.
In this case, 30 goes once into 48, with a remainder of 18. Now I seek the greatest common divisor of 18 and 30. I divide 18 into 30, which goes once with a remainder of 12. Next I seek the greatest common divisor of 12 and 18. I divide 12 into 18, which goes once with a remainder of 6. On we go – divide 6 into 12, which goes twice with a remainder of 0 – and that is the end. Euclid says that your last non-zero remainder, 6, is the number you sought: the greatest common divisor of 30 and 48. 6 divides both 30 and 48, and no larger number does both.
The Euclidean algorithm was pointless in this example, for anyone who knows the multiplication table. For much larger numbers, however, it is invaluable.
Next, Euclid challenges the person who might doubt the Fundamental Theorem of Arithmetic: find me the smallest natural number that can be factored in two irreconcilable ways, with different prime factors. That number must be composite, of course. Line up the two different rows of prime factors. All smaller factors of this number must have unique factorizations themselves. Euclid pulls out his famous algorithm to slowly match up, one pair at a time, the prime factors belonging to the two allegedly different factorizations. Voila! This number does not have two different factorizations after all. Silly goose!
Using this great theorem, we see that all the natural numbers are like molecules with unique chemical formulas. Just as water is always H2O, with two hydrogen atoms and one oxygen atom and never any other chemical elements, so too the number 60 can only be made up of two factors of 2, one factor of 3, and one factor of 5, and never any other prime factors.
The small diagram below shows a view of some of the smaller natural numbers, with 1 at the lower left. Every time you proceed up to the right along a maroon line, you are multiplying by 2. When you move up to the right along a blue line, you are multiplying by 3; green 5; lavender 7.

These are some of Euclid’s infinitely many molecules.