OrionToth napisał/a:
co to za magia
Taka to magia.
1
one 1 -> 11
two 1s -> 21
one 2, one 1 -> 1211
one 2, three 1s -> 1231
one 3, one 2, two 1s -> 131221
... and so on and so forth until you get to the last number, which repeats ad infinitum:
one 4, two 3s, three 2s, two 1s -> 14233221