The Twelfth Return
FOLIO I
Music · tuning · number theory

The twelfth return

Why Western music divides the octave into twelve notes

Take a pure fifth. Take it again. On the twelfth ascent, the arithmetic comes home—except that it does not.

(3/2)12 = 129.746…   ≠   27 = 128

The excess is tiny, exact, and structurally unavoidable. It is not noise in the string. It is the remainder left when powers of one prime are asked to imitate powers of another.

Thesis: twelve is not decreed by nature. Under octave equivalence, a pure-fifth generator, equal steps, and a preference for a small system, it is the first strikingly effective compromise.

FOLIO II
The physical premise

A string makes multiplication audible

An octave doubles frequency; a just perfect fifth multiplies it by 3/2. Intervals compose by multiplication, while musical distance is heard and measured logarithmically.

cents(r) = 1200 log2(r)

The cent is one twelve-hundredth of an octave, so this logarithm turns products of ratios into sums of distances.[2]

String frequency ratios for an octave and perfect fifthf2ff3f/2ratio is geometry before it is notation
FOLIO III
The arithmetic behind the comma

The circle does not close

κ = (3/2)12 / 27 = 312/219 = 531441/524288

This ratio is the Pythagorean comma: approximately 23.46001 cents, the difference between twelve just fifths and seven octaves.[1] Exact closure would require 3q = 2p+q; unique prime factorization rules it out for positive integers.

Walk the fifths

Each step applies 3/2, then reduces by octaves. The twelfth point misses the origin by one comma.

octave class 0
FOLIO IV
The hidden irrational

Closure becomes approximation

After q fifths, near closure after p octaves means:

q log2(3/2) ≈ p   ⇔   log2(3/2) ≈ p/q

Let α = log₂(3/2) = 0.584962500721…. Because α is irrational, equality is impossible; the design question is which rational p/q comes closest without making q unwieldy.

PROPOSITION · Why α is irrational

If α = p/q, then (3/2)q = 2p, hence 3q = 2p+q. The two sides have incompatible prime factorizations. Therefore no integers p,q > 0 satisfy the equation.

FOLIO V
Euclid in the margin

The convergents choose their denominators

α = [0; 1, 1, 2, 2, 3, 1, 5, 2, 23, …]

Continued-fraction convergents supply successively strong rational approximations; a standard best-approximation theorem makes this precise in terms of bounded denominators.[4] The continued fraction of log₂3 is also catalogued by OEIS.[3]

p/qq divisions / fifthsClosure errorReading
1/22−203.91¢too coarse
3/55−90.22¢pentatonic-sized return
7/1212+23.46¢first compact near-closure
24/4141−20.06¢finer division
31/5353+3.62¢exceptional fifth closure

The table tracks cumulative closure after q just fifths. The error of one equal-tempered fifth is that total divided by q.

FOLIO VI
The first useful denominator

Why twelve, specifically

The convergent 7/12 says that seven octaves nearly equal twelve fifths. Reverse the viewpoint: divide an octave into twelve equal steps and place the fifth seven steps above the tonic.

fifth12 = 27/12 = 1.498307077… ≈ 3/2

The 12-TET fifth is about 1.95500 cents flat. Equal temperament divides an octave into twelve equal semitones of 100 cents, each with frequency factor 21/12.[6]

Error per interval

fifth 3/2 → 12-TET

major third 5/4 → 12-TET

Fifth: -1.955¢
Major third: +13.686¢
FOLIO VII
Distributing the remainder

Temper means choose where error lives

Twelve equal temperament removes the comma by narrowing every fifth by one twelfth of it. The circle then closes exactly, but the fifth is no longer exactly 3/2.

23.46001…¢ / 12 = 1.95500…¢ per fifth

Its major third, four equal steps, is approximately 13.69 cents sharp relative to 5/4. Meantone instead orients its compromises around major thirds; historical temperaments are different allocations of unavoidable error, not repairs of faulty physics.[7]

No finite rank-one cycle can preserve both generators 2 and 3 exactly. Temperament is a declaration of priorities.

FOLIO VIII
The plural answer

Twelve wins a constrained question

Change the objective and other systems become rational choices. Forty-one and fifty-three are later convergent denominators for the fifth; nineteen is not a convergent of this particular continued fraction, though 19-TET can be valued for other interval approximations.

EDOFifth stepsFifth errorWhat changes
12 divisions · fifth at step 7

Equal temperament’s practical attraction is that equal semitones permit performance in every key with a single fixed tuning.[5] That is a historical and instrumental advantage layered on top of the number theory—not a theorem that all music must contain twelve notes.

FOLIO IX
Scholia & evidence

Fact sheet

Evidence table

ClaimSourceAccessedYear
Comma ratio and centsPythagorean comma2026-07-15living reference
Cent formulaMedieval Music & Arts Foundation2026-07-15not stated
Continued fraction sequenceOEIS A0285072026-07-152024 update
Best approximationsCornell mathematics notes2026-07-152016
Equal temperament definitionEncyclopaedia Britannica2026-07-15living reference

Sources cited

  1. Wikipedia contributors. Pythagorean comma. Wikipedia. Accessed July 15, 2026. https://en.wikipedia.org/wiki/Pythagorean_comma
  2. Rasch R. Pythagorean tuning: more details. Medieval Music & Arts Foundation. Accessed July 15, 2026. http://www.medieval.org/emfaq/harmony/pyth4.html
  3. Sloane NJA, ed. A028507: continued fraction expansion for log₂(3). OEIS. Updated 2024. Accessed July 15, 2026. https://oeis.org/A028507
  4. Krishnan GG. Continued Fractions. Cornell University; 2016. Accessed July 15, 2026. https://pi.math.cornell.edu/~gautam/ContinuedFractions.pdf
  5. Encyclopaedia Britannica. Tuning and temperament. Accessed July 15, 2026. https://www.britannica.com/art/tuning-and-temperament
  6. Encyclopaedia Britannica. Equal temperament. Accessed July 15, 2026. https://www.britannica.com/art/equal-temperament
  7. Encyclopaedia Britannica. Meantone temperament. Accessed July 15, 2026. https://www.britannica.com/art/meantone-temperament

Sources consulted

All cited sources above, plus: Dartmouth · The Pythagorean Comma; Cubarsi · Diversity and Semiconvergents in Pythagorean Tuning (2025).

Recency flags

Foundational mathematics and historical definitions do not require 2026 measurements. The Cornell notes date to 2016; OEIS shows a 2024 update; the 2025 tuning paper was consulted for current mathematical context. Britannica entries are continuously maintained, with original entry dates earlier than 2026.