rm-hull / champernowne.cljs
Last updated

Experiments in colourizing digits of transcendental numbers like √2, π and Champernowne's constant - numbers which are not the root of any polynomial with integer coeffients. Whilst an Cambridge undergraduate in 1933, David Champernowne concatenated the positive integers, 1, 2, 3, 4, ..., and lead with a decimal point to yield 0.123456789101112131415161718192021... He showed that the frequency of any single digit is exactly 10 percent, that the frequency of any two digit pairs is one percent, and three digit pairs have a frequency of 0.1%, and so on. Because of this statistical property, it might appear random and it would be easy to thwart attempts to find sequences, and overlook the "regularity" within the sequence. Plotting the sequence with each digit colour-coded as below shows there is a pattern of sorts. See http://www.matifutbol.com/en/pencil.html for some more information.

Fork me on GitHub!