Re: Number to Letter Counting algorithim needed
- From: "Wlodzimierz Holsztynski (wlod)" <sennajawa@xxxxxxxxx>
- Date: Tue, 19 Jun 2007 20:34:16 -0000
On Jun 19, 1:09 pm, "Wlodzimierz Holsztynski (wlod)"
<sennaj...@xxxxxxxxx> wrote:
Lets have just two digits: 0 and 1.
We would like to send an ordered list
of natural numbers, separated by blanks.
The "excell" codes are a bit shorter
than the standard positional codes:
1 -- 0
10 -- 1
11 -- 00
100 -- 01
101 -- 10
110 -- 11
111 -- 000
1000 -- 001
1001 -- 010
etc.
The excell encoding will produce lists
which are never longer, and often shorter
than the positionally encoded lists.
Actually, another **variation** of the
coding of natural numbers, which is more
closely related to the standard, positional
encoding, is still a bit more efficient. It
is well known. I'll let you dwell on it.
Enjoy your easy entertainment,
Wlod
.
- References:
- Number to Letter Counting algorithim needed
- From: Gary H
- Re: Number to Letter Counting algorithim needed
- From: Wlodzimierz Holsztynski (wlod)
- Number to Letter Counting algorithim needed
- Prev by Date: Re: In need for a proof from the book.
- Next by Date: Re: In need for a proof from the book.
- Previous by thread: Re: Number to Letter Counting algorithim needed
- Next by thread: Question about a^2+b^2=4k+1 prime ...
- Index(es):
Relevant Pages
|