| Letter | Code | Duration |
| A | . - | 3 |
| B | - . . . | 5 |
| C | - . - . | 6 |
| D | - . . | 4 |
| E | . | 1 |
| F | . . - . | 5 |
| G | - - . | 5 |
| H | . . . . | 4 |
| I | . . | 2 |
| J | . - - - | 7 |
| K | - . - | 5 |
| L | - . - - | 7 |
| M | - - | 4 |
| N | - . | 3 |
| 0 | - - - | 6 |
| P | . - - . | 6 |
| Q | - - . - | 7 |
| R | - . - | 5 |
| S | . . . | 3 |
| T | - | 2 |
| U | . . - | 4 |
| V | . . . - | 5 |
| W | . - - | 5 |
| X | - . . - | 6 |
| Y | - . - - | 7 |
| Z | - - . . | 6 |
A few problems for exploration:
Draw the trees, and you'll see what I mean. But this code is different:
Can you figure out and prove a recursive formula for the
number of maximal instantaneous codes with
words? For help, you
might consult the Online Encyclopedia of Integer Sequences:
How about 1,2,4,4,4,5,5?
How about 1,3,3,4,4,4,5,5,5?
How about 1,3,3,4?
Of the possible codes, which ones are maximal? Can you formulate and prove a way to determine whether an instantaneous code with given lengths of codewords exists, and if so, whether it is maximal?