Binary code The modern binary number system, the basis for binary code, was invented by Gottfried Leibniz in 1689 and appears in his article "Explication de l'Arithmétique Binaire". The full title is translated into English as the "Explanation of the binary arithmetic", which uses only the characters 1 and 0, with some remarks on its usefulness, and on the light it throws on the ancient Chinese figures of Fu Xi." (1703). Leibniz's system uses 0 and 1, like the modern binary numeral system. Leibniz encountered the "I Ching" through French Jesuit Joachim Bouvet and noted with fascination how its hexagrams correspond to
Combinatorial number system "C"<nowiki>'</nowiki>, since they have the same largest part 9, but the next largest part 6 of "C" is less than the next largest part 7 of "C"<nowiki>'</nowiki>; the sequences compared lexicographically are (9,6,4,3,0) and (9,7,3,1,0). Another way to describe this ordering is view combinations as describing the "k" raised bits in the binary representation of a number, so that "C" = {"c"...,"c"} describes the number (this associates distinct numbers to "all" finite sets of natural numbers); then comparison of "k"-combinations can be done by comparing the associated binary numbers. In the example "C" and "C"<nowiki>'</nowiki> correspond to numbers 1001011001 =