|
| |
|
|
A072464
|
|
Code word lengths for non-redundant MML code for positive integers.
|
|
0
| |
|
|
1, 3, 3, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
LINKS
| Lloyd Allison, Integer Distribution.
|
|
|
EXAMPLE
| Code words: 1, 010, 011, 000100, 000101, 000110, 000111, ...
|
|
|
PROG
| (PARI) a(n)=local(l); if(n<2, n>0, l=length(binary(n)); l+a(l-1))
|
|
|
CROSSREFS
| Sequence in context: A038167 A131077 A175520 * A160745 A105676 A127739
Adjacent sequences: A072461 A072462 A072463 * A072465 A072466 A072467
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Michael Somos
|
| |
|
|