Allegro a la J.S. Bach and C.M. von Weber
Noam D. Elkies (Harvard)

Pi

The piece encodes the first 244 decimal digits of Pi.
Solution: every fourth note of the right-hand part gives another digit. The digit zero is encoded by B tone, 1 — C, 2 — D etc.
Listen for the piece (MIDI format)

Pi