Re: More of an Algorithems question
- From: quasi <quasi@xxxxxxxx>
- Date: Thu, 17 Nov 2005 12:15:12 -0500
On Thu, 17 Nov 2005 15:07:58 GMT, cri@xxxxxxxx (Richard Harter) wrote:
>On 15 Nov 2005 14:55:51 -0800, "Filter" <filtermedialtd@xxxxxxxxx>
>wrote:
>
>>
>>Hi,
>>
>>How can I proove that no Algorithm can compress every file of length
>>10^6?
>
>However there is an algorithm that will losslessly compress every file
>of length 10^6 except one.
>
I don't believe that.
The pigeonhole principle applies easily to invalidate such a claim ...
Let n=10^6.
There are 2^n possible files with n bits, but only 2^(n-1) files with
n-1 bits. Hence, at most half the files can be compressed.
quasi
.
- Follow-Ups:
- Re: More of an Algorithems question
- From: Dave Seaman
- Re: More of an Algorithems question
- References:
- More of an Algorithems question
- From: Filter
- Re: More of an Algorithems question
- From: Richard Harter
- More of an Algorithems question
- Prev by Date: Re: what's the composition series for the additive group Z/12Z?
- Next by Date: Re: stabilizer?
- Previous by thread: Re: More of an Algorithems question
- Next by thread: Re: More of an Algorithems question
- Index(es):
Relevant Pages
|