Alan Turing is one of the world’s best known mathematicians, and probably the best known in the past century. This is partly for his work on cracking German codes in World War 2, and partly for his arrest, conviction and punishment for homosexuality in the 1950s. The mathematics that made him