20.2 Ejemplo de codificación

lista
entrada salida







⋅⋅⋅ a, 0 b, 0 c, 0 ⋅⋅⋅ b b
b, 1 ⋅⋅⋅ a, 0 c, 0 ⋅⋅⋅ a b
a, 1 b, 1 ⋅⋅⋅ c, 0 ⋅⋅⋅ a 0
a, 2 b, 1 ⋅⋅⋅ c, 0 ⋅⋅⋅ a 0
a, 3 b, 1 ⋅⋅⋅ c, 0 ⋅⋅⋅ a 0
a, 4 b, 1 ⋅⋅⋅ c, 0 ⋅⋅⋅ a 0
a, 5 b, 1 ⋅⋅⋅ c, 0 ⋅⋅⋅ a 0
a, 6 b, 1 ⋅⋅⋅ c, 0 ⋅⋅⋅ b 1
a, 6 b, 2 ⋅⋅⋅ c, 0 ⋅⋅⋅ b 1
a, 6 b, 3 ⋅⋅⋅ c, 0 ⋅⋅⋅ a 0
a, 7 b, 3 ⋅⋅⋅ c, 0 ⋅⋅⋅ b 1
a, 7 b, 4 ⋅⋅⋅ c, 0 ⋅⋅⋅ a 0
a, 8 b, 4 ⋅⋅⋅ c, 0 ⋅⋅⋅ a 0
a, 9 b, 4 ⋅⋅⋅ c, 0 ⋅⋅⋅ c c
a, 9 b, 4 c, 1 ⋅⋅⋅ ⋅⋅⋅ a 0
a,10 b, 4 c, 1 ⋅⋅⋅ ⋅⋅⋅ a 0
a,11 b, 4 c, 1 ⋅⋅⋅ ⋅⋅⋅ b 1