"Automatic Sequences: Theory, Applications, Generalizations" - читать интересную книгу автора (Jean-Paul Allouche, Jeffrey Outlaw Shallit)