Original Post
(1) Pi is a transcendental number with no apparent pattern; its decimal representation continues on forever. (2) In turn, this means that for every finite string of numbers, the probability is 1 that this string is somewhere in pi. (3) A file is a sequence of bytes, which can be expressed as a finite string of numbers. (4) At least one O(1) algorithm exists to compute the nth digit of pi. (I use "O(1)" in the sense that the algorithm does not require that you compute digits 1 through (n-1).) Claim: All you need to compress any file are exactly two numbers: the starting index i of the digit of pi at which the file's string begins, and the length L of the string. To decompress, compute digits i through i + (L - 1), convert to bytes, and you've reconstructed the file. Discuss the truth or falsity of this claim. Also discuss whether this is currently a practical method of compressing files given a standard desktop computer. If not, could it ever be? [edit:] Note that it has yet to be shown whether pi exhibits normality or not, so the validity of (1) is up in the air. But as far as we can tell empirically (out to about a trillion digits), it certainly looks that way. [Edited by - kSquared on May 23, 2006 8:37:19 AM]