Skip to content

lfoscari/instantaneous-codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instantaneous codes: gamma, delta, minimal binary, unary, Golomb

------------------------------------------------------------------------------------------------------
| Number | Binary | Reduced binary | Gamma       | Delta      | Minimal binary | Golomb (3)          |
|      1 |      1 |              0 |         010 |       0100 |          00001 |                 110 |
|      2 |     10 |              1 |         011 |       0101 |          00010 |                 111 |
|      3 |     11 |             00 |       00100 |      01100 |          00011 |                 010 |
|      4 |    100 |             01 |       00101 |      01101 |          00100 |                0110 |
|      5 |    101 |             10 |       00110 |      01110 |          00101 |                0111 |
|      6 |    110 |             11 |       00111 |      01111 |          00110 |                0010 |
|      7 |    111 |            000 |     0001000 |   00100000 |          00111 |               00110 |
|      8 |   1000 |            001 |     0001001 |   00100001 |          01000 |               00111 |
|      9 |   1001 |            010 |     0001010 |   00100010 |          01001 |               00010 |
|     10 |   1010 |            011 |     0001011 |   00100011 |          01010 |              000110 |
|     11 |   1011 |            100 |     0001100 |   00100100 |          01011 |              000111 |
|     12 |   1100 |            101 |     0001101 |   00100101 |          01100 |              000010 |
...

credits Sebastiano Vigna @ unimi

About

Instantaneous codes example

Topics

Resources

Stars

Watchers

Forks

Languages