The I Ching: The Book of Changes and the Oracle That Discovered Binary Code
A Song Dynasty (960-1279 CE) printed edition of the I Ching — one of the earliest surviving printed versions of a text that had been transmitted for approximately three thousand years before the invention of printing. The Song period saw an intense revival of I Ching scholarship and the development of many of the Neo-Confucian commentaries still studied today In 1701, the German mathematician and philosopher Gottfried Wilhelm Leibniz received a letter from the French Jesuit missionary Joachim Bouvet, who was working at the Chinese imperial court. Enclosed with the letter was a diagram: the sixty-four hexagrams of the I Ching, arranged by the Song Dynasty scholar Shao Yong in a sequence that mapped each hexagram to a binary number from 0 to 63, using broken lines for 0 and solid lines for 1. Leibniz, who had independently invented binary arithmetic a few years earlier, recognized what he saw immediately: the oldest divination text in the world, composed in China three thousand yea...