
I have been a musician for most of my life. I have also spent most of my life hearing people claim that the golden ratio explains music. These claims always dissolve on contact with the mathematics. The golden ratio is not the frequency ratio of any interval in any standard tuning system. The Fibonacci sequence approximates the semitone layout but does not generate it. The popular accounts do not produce the scale.
The calculation here begins with repeating decimals. Count the fractions that terminate or eventually share the repeating tail of a reference fraction. Then look at the distance between that proportion and its limit. Ratios of those remaining distances approach the intervals of musical tuning.
The primes available in the base determine which intervals we can reach. In base 10, something familiar is missing. Changing the base lets us recover it.
Take the decimal fractions , where is built entirely from the primes 2 and 5. Their alignment is . This is the formula behind the middle band in The Three-Tier Theorem. It approaches but never reaches it. The distance still to go is the deficit.
Look at the deficits for the pure powers of 2.
| Deficit | ||
|---|---|---|
| 4 | 12 | 1/33 |
| 8 | 24 | 1/69 |
| 16 | 48 | 1/141 |
| 32 | 96 | 1/285 |
| 64 | 192 | 1/573 |
Each step doubles and approximately halves the deficit. The first pair gives a ratio of , a little more than 2. The next gives , closer to 2. The difference keeps shrinking.
In music, each octave doubles the frequency.
That parallel has an exact formula behind it. In a base , choose a prime dividing , and let use only prime factors of the base. This gives the same one-digit repeating-tail count. Its deficit from is
Divide the deficit at one point by the deficit at another. The constant cancels.
This is the exact finite ratio. To see its limit, keep two starting points and fixed and multiply both by the same growing factor , also built from the base’s primes.
The deficit runs in the opposite direction from . Larger integers leave smaller deficits. Taking the smaller integer’s deficit over the larger integer’s deficit recovers their interval ratio in the limit.
In base 10, the available integers are , with nonnegative exponents. Picture a grid with a 2-axis and a 5-axis. A step along either axis multiplies the integer by that prime. Ratios between grid points give octaves and the just major third, .
But no combination of multiplying and dividing by 2 and 5 gives . The prime 3 appears in the denominator , yet it is absent from the allowed factors of . Those are different roles.
The fifth is missing.
Change the base and the lattice changes with it.
Base 12 has prime factors 2 and 3. Use , since 11 divides . The denominator is now , and can move along a 2-axis and a 3-axis.
The octave is a ratio of 2. The twelfth, an octave plus a fifth, is a ratio of 3. Every Pythagorean interval is a ratio of products of these two primes. The fifth, , is one step along the 3-axis and one step back along the 2-axis. The fourth, , is two steps along the 2-axis and one step back along the 3-axis.
The integers occupy the part of the grid with nonnegative exponents. Taking ratios between them allows steps in either direction. This is the familiar prime-exponent lattice of Pythagorean tuning, now carrying a deficit value at each integer point.
The finite deficit ratios approach its musical intervals as both points grow together.
Start on a note and ascend twelve perfect fifths. Start again and ascend seven octaves. The two routes almost meet.
Twelve fifths multiply the frequency by . Seven octaves multiply it by . Divide one by the other.
This is the Pythagorean comma, about a quarter of a semitone. Pure fifths do not close into an exact circle. In twelve-tone equal temperament, each fifth is narrowed by one twelfth of the comma, measured logarithmically, so that twelve of them reach seven octaves. Benson’s account follows the arithmetic of that mismatch.
Now take the two integers left by the calculation, 531441 and 524288, as points in the base 12 deficit lattice. The exact formula gives
The Pythagorean comma. Matching to six significant figures at these finite points. Exact in the limit as both points are scaled together.
An old tension in musical tuning reappears in a theorem about repeating decimals. The ratio formula tells us why, and also how much difference remains at every finite scale.
Base 10 cannot recover the comma as a ratio in its prime-exponent lattice. Like the fifth, it requires the missing prime 3.
Base adds the third axis.
These are the three primes of five-limit just intonation. The octave is 2, the fifth is , and the major third is . Choose , and the alignment deficits live on the same integer grid.
Start at . The classical just major scale has ratios , , , , , , , and . Their least common denominator is 24. Multiplying by 24 gives eight integers, each built from the primes 2, 3 and 5.
| Note | Interval | Finite deficit ratio | |
|---|---|---|---|
| Do | 24 | 1 | 1.000 |
| Re | 27 | 9/8 | 1.125 |
| Mi | 30 | 5/4 | 1.250 |
| Fa | 32 | 4/3 | 1.334 |
| Sol | 36 | 3/2 | 1.501 |
| La | 40 | 5/3 | 1.668 |
| Ti | 45 | 15/8 | 1.876 |
| Do | 48 | 2 | 2.001 |
The last column is , rounded to three decimal places. The largest relative difference from a just interval is less than 0.072 percent. The octave is a little wide. So is the fifth.
There are other lattice points in this octave. The integer lies between 24 and 27 and gives the interval . The eight notes above are the familiar diatonic selection from a larger collection. The lattice contains the scale. It does not choose those eight notes for us.
Watch the fifth lock in as the starting point grows.
| Deficit ratio at | |
|---|---|
| 24 | 1.500719 |
| 240 | 1.500072 |
| 2400 | 1.500007 |
| 24000 | 1.5000007 |
| 240000 | 1.50000007 |
| 2400000 | 1.500000007 |
Each row gains roughly a decimal place. The limiting ratio is exactly . Every interval in the scale table has the corresponding limit.
At the scale of an octave, these small differences almost disappear on a plot. The figure below measures the remaining relative error in parts per million. Following a note from gold to blue to white shows the convergence.
The step ratios between consecutive notes tend to , , , , , , and . Just intonation has two sizes of whole tone here. The familiar pattern is still
Whole tone. Whole tone. Semitone. Whole tone. Whole tone. Whole tone. Semitone.
The prime support determines the grid and its limiting interval ratios. Bases 6, 12 and 24 all have prime support , so all three give the Pythagorean lattice. Bases 30, 60 and 120 have prime support and give the five-limit lattice. The finite deficit values also depend on the chosen prime dividing .
Add 7 by moving to base . The lattice gains another axis. With , deficit ratios at the points and approach the harmonic seventh, . Those at and approach the septimal whole tone, . The same ratio theorem applies.
The new base retains the five-limit intervals and admits more. We can read that extension directly from its factorization.
The musical lattice is established mathematics. Its history reaches back to Euler. Helmholtz developed the account of consonance and frequency ratios in On the Sensations of Tone. Barbour’s Tuning and Temperament traces the history of tuning systems. Benson’s account of music and mathematics and Kurenniemi’s Chords, Scales, and Divisor Lattices describe the prime-based structure. Archibald’s 1924 survey already gives the just major scale as the integer sequence 24, 27, 30, 32, 36, 40, 45, 48.
To my knowledge, the specific alignment-deficit coordinate described here has not been previously noted. Its contribution is the route from long division to that established lattice, with an exact ratio formula at every finite point.
Any positive function behaving like a constant divided by would recover the same limiting ratios on these integers. Convergence alone does not distinguish the deficit. What interests me is that this function comes from counting repeating tails. We can derive it from the digit function, compare two finite values exactly, and follow the remaining difference all the way to a familiar musical interval.
I began with fractions sharing a denominator. Counting their agreement left a small distance from a limit. Comparing those distances brought me to the octave, the fifth, the comma, and the just major scale. The intervals were already known. The arithmetic of long division supplied the coordinate.
A road nobody took to a place that was already on the map.
Comments
Sign in to join the discussion.