
I have been a musician for most of my life. I have also spent most of my life hearing that the golden ratio explains music. The explanations I encountered failed on contact with the mathematics, but I kept looking. After years of working on the question, I found a connection through repeating decimals. I call it the alignment-deficit lattice.
The route runs through repeating decimals and the primes in the base. For certain denominators, the proportion of aligned fractions approaches a limit. The distance left over is a small, exact fraction. Compare two of those distances and familiar musical ratios begin to appear.
Decimal gives us the octave and the just major third, but it leaves out the perfect fifth. To reach that interval, we need a base with a factor of 3.
Among the eleven proper twelfths, four fractions eventually share the repeating tail of . Three others terminate and receive a whole credit under the alignment convention. That gives seven credits among eleven fractions, or an alignment of .
This is one of the counts behind the middle band of decimal alignment. For a denominator , where is built entirely from 2 and 5, the formula is
Each repeating tail in this family consists of a single digit. Once the nonrepeating beginnings are cleared, a row either agrees with the reference in every position or misses it in every position. Whole-tail agreement gives the same count as averaging the individual digit matches here.
As grows, the alignment approaches from below. Call the distance still to go the deficit.
At , the deficit is . Doubling to 8 brings it down to , and doubling again gives . Each step leaves a little less than half the previous deficit.
Dividing the first deficit by the second gives , a little more than 2. The next pair gives . As the denominators grow, these ratios approach exactly 2, the frequency ratio of an octave.
Used as a frequency ratio, each finite value gives an interval slightly wider than an octave. The next doubling brings it closer, and the formula lets us calculate the remaining error.
The same calculation works in other bases. Choose a prime dividing , and let use only prime factors of the base . The denominator again gives one-digit repeating tails after its beginning is cleared. Its alignment approaches , with deficit
For two allowed integers and , scale both by a common factor made from the base’s primes. The ratio of their deficits is
The deficit at the smaller integer goes on top because deficits decrease as the integers grow. The two subtractions by 1 keep the finite ratio slightly away from ; their effect vanishes as increases.
In base 10, the allowed integers are products of 2 and 5. Their ratios give octaves and the just major third, . For example, the points 40 and 50 have ratio .
A fifth above 40 would require 60, whose factor of 3 puts it outside this grid.
No multiplication or division using only 2 and 5 gives exactly . There is a 3 in the denominator , but it determines the alignment family. The allowed factors of come from the base, and decimal supplies only 2 and 5.
In base 12, both 2 and 3 are available. We use , since 11 divides , and place the allowed integers on a grid with one axis for each prime. A step to the right multiplies by 2; a step up multiplies by 3.
Starting at 24, one step left and one step up brings us to 36. We have divided by 2 and multiplied by 3, giving the fifth .
These are the same prime-exponent coordinates used in Pythagorean tuning. The alignment calculation assigns a deficit to every integer point, and its ratio formula tells us how close two finite deficits come to the corresponding musical interval.
Decimal can still approximate a fifth by choosing different pairs of points. It has no fixed pair whose limiting ratio is exactly , whereas in base 12 the pair 24 and 36 does the job.
Twelve pure fifths take us almost, but not quite, to the same pitch as seven octaves. The discrepancy is small enough to disappear in a rough calculation and large enough to cause centuries of trouble in tuning.
Twelve fifths multiply the frequency by . Seven octaves multiply it by . The ratio between the endpoints is
This is the Pythagorean comma, about 23.46 cents. A semitone in twelve-tone equal temperament is 100 cents, so the gap is almost a quarter of one. Pure fifths make a spiral, not a closed circle. Equal temperament narrows each fifth by one twelfth of the comma, measured in cents, so that twelve fifths reach seven octaves. Benson follows the arithmetic of the mismatch.
The two integers in the reduced fraction, and , are allowed points in base 12. Put their deficits into the ratio formula.
This finite ratio is slightly larger than the comma. The two already agree to six significant figures, but the exact fractions retain the difference.
Scaling both integer points makes the deficit ratio converge to the classical comma. The mismatch between pure fifths and octaves survives intact. Equal temperament adjusts the fifths to close the circle; increasing the deficit scale reproduces the pure intervals and their failure to close.
Base adds the third axis. With , the deficit now lives on the integer grid used in five-limit just intonation. The name means that no prime larger than 5 enters an interval ratio.
The just major scale has ratios
Their least common denominator is 24. Multiplying by 24 gives the integers 24, 27, 30, 32, 36, 40, 45 and 48. Each uses only 2, 3 and 5. This is a classical representation of the scale, also set out in Kurenniemi’s account of musical lattices.
The integer also lies between 24 and 48 and uses only the allowed primes.
Its interval, , belongs to the lattice but falls outside the familiar eight-note selection. Recovering that selection still requires a musical choice. The arithmetic supplies all nine points.
Dividing consecutive just intervals gives the steps , , , , , and . The whole tones come in two sizes, and , with for the diatonic semitone.
We get the familiar whole, whole, half, whole, whole, whole, half pattern, although the whole steps are unequal in this tuning.
The finite column in the figure comes directly from the deficits. Taking the deficit at 24 over the deficit at each selected point gives .
For the fifth, . Its finite ratio is
The extra makes this fifth a little wide. The octave is wider too, and has the largest relative error among the eight notes, just under 0.072 percent.
Now multiply both fifth endpoints, 24 and 36, by the same allowed factor . The exact excess becomes
Each tenfold increase in removes roughly another decimal place of error. The same convergence holds for every interval in the scale.
An octave-wide plot would hide most of the change, so the lower panel measures relative error in parts per million. Following Sol down the three curves shows the fifth approaching . The starting Do has no error because its deficit is divided by itself.
The factors of the base determine the grid. Bases 6, 12 and 24 all supply 2 and 3, so they have the same limiting Pythagorean intervals. Bases 30, 60 and 120 supply 2, 3 and 5. Their finite deficit values can differ because the chosen prime also enters the formula.
Base retains those intervals and admits a fourth prime. With , which divides 209, deficit ratios at and approach the harmonic seventh, . The pair and gives the septimal whole tone, , in the limit. Both intervals require the new factor of 7.
The tuning lattice is classical, and any positive function behaving like a constant divided by would recover its limiting ratios. The alignment-deficit coordinate comes specifically from counting repeating tails, with an exact finite correction. To my knowledge, this coordinate has not been previously described.
At the fifth, that count gives . Subtract the musical ratio and exactly remains. We can account for that fraction and make it as small as we please by scaling the two integer points together.
I wanted a connection that would survive contact with the mathematics. Here, even the part that is still out of tune has an exact value.
Let be prime with , and let be a positive integer whose prime factors all divide . Choose a clearing length with . Among the proper fractions , there are terminating rows. Each receives a whole credit by convention.
For the other rows, multiplication by preserves the remainder modulo , since . Their cleared tails repeat a single digit. The rows with share the tail of . The remaining rows do not. Thus
For example, take base 12, and . The denominator is 22. After one digit, repeats the digit 6. Rows 1 and 12 match that tail; row 11 terminates. The alignment is , and its deficit from is .
The exact difference from a limiting ratio is
It is positive when . The finite interval approaches its target from above. The limit is taken along allowed factors , such as successive powers of any prime dividing the base.
The last column is . The just interval in the middle column is its limit when both points are scaled together.
| Note | Just interval | Finite ratio | |
|---|---|---|---|
| Do | 24 | ||
| Re | 27 | ||
| Mi | 30 | ||
| Fa | 32 | ||
| Sol | 36 | ||
| La | 40 | ||
| Ti | 45 | ||
| Do | 48 |
For a selected point between 24 and 48, the relative error after scaling by is . Its maximum occurs at 48 and equals . At , the bound is . The fifth’s absolute error is also at this scale, but its relative error is .
Here is the fifth at six starting points. The displayed decimal values are rounded.
| Starting point | Deficit ratio at |
|---|---|
| 24 | 1.500719 |
| 240 | 1.500072 |
| 2400 | 1.500007 |
| 24000 | 1.5000007 |
| 240000 | 1.50000007 |
| 2400000 | 1.500000007 |
These illustrations from the earlier version are retained for comparison. The paired figures above separate the shrinking deficits, prime grid, comma, scale selection, and finite errors.
The prime-based description of tuning has a long history. Euler’s work, Helmholtz’s On the Sensations of Tone, and Barbour’s Tuning and Temperament provide historical background. The following accounts develop the arithmetic used here.
The alignment-deficit calculation supplies a long-division-derived coordinate on an established lattice. It is not a claim that the classical intervals or the major-scale integer sequence are new.
Discussion
Sign in to join the discussion.