The Well-Tempered Clavier was truly heavenly music for mathematicians. It was composed of prelude and fugue pairs in major and minor keys using all twelve tones of the scale, twenty-four pieces per book, forty-eight pieces in all, comprising a perfect cycle.

