I was taught that mathematician Andrey Markov came up with the idea for Markov chains - the probabilistic description of how a system evolves - by looking at how each letter in "Eugene Onegin" predicted the next; he would be quite pleased but unsurprised by this evolution of the idea.