Re: A simple proof for the following?
From: Vladimir (vzajic_at_bnl.gov)
Date: 11/21/04
- Next message: Eur Ing Panagiotis Stefanides: "Re: definition"
- Previous message: Todd Trimble: "Re: Cantor's diagonal proof wrong?"
- Next in thread: phil: "Re: A simple proof for the following?"
- Maybe reply: phil: "Re: A simple proof for the following?"
- Maybe reply: c.j[dot]w: "Re: A simple proof for the following?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 21 Nov 2004 14:30:07 +0000 (UTC)
On 20 Nov 2004, c.j[dot]w wrote:
>Hello,
>
>Is there for the following statement a simple proof (or a way to >show that it is plausible)?
>
>Statement: Any 8-bit word can be stored as a 14-bit word, with the
>14-bit word having at least two zeros between every one.
>
>Thanks in advance,
>Carl
Let a(m) be the number of different m-bit words and b(n) be the
number of different n-bit words having at least 2 zeros between every
one.
b(1) = 2 (0, 1)
b(2) = 3 (00, 01, 10)
b(3) = 4 (000, 001, 010, 100)
For n >= 4, the MSB (the n-th bit) can be 0 or 1. If MSB=0, then the
next bit (the (n-1)-st bit) is arbitrary and we get b(n-1) n-1 words.
If MSB=1, then the next 2 bits (the (n-1)-st and (n-2)-nd bits) must
be zeros, the following bit (the (n-3)-rd bit) is arbitrary and we
get b(n-3) n-3 words. Hence,
b(n) = b(n-1) + b(n-3) for n>=4
{b(n), n = 0, 1, ...} =
= {2, 3, 4, 6, 9, 13, 19, 28, 41, 60, 88, 129, 189, 277, 406, ...}
Sequence A000930 at Sloane's encyclopedia.
a(8) = 2^8 = 255
b(14) = 277
a(8) < b(14)
- Next message: Eur Ing Panagiotis Stefanides: "Re: definition"
- Previous message: Todd Trimble: "Re: Cantor's diagonal proof wrong?"
- Next in thread: phil: "Re: A simple proof for the following?"
- Maybe reply: phil: "Re: A simple proof for the following?"
- Maybe reply: c.j[dot]w: "Re: A simple proof for the following?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|