Automatic sequences theory, applications, generalizations - Allouche, Jean-Paul; Shallit, Jeffrey (Cambridge University Press, 2003)