The mathematician examines the nature of creativity and provides an essential guide to how algorithms work, and the mathematical rules underpinning them. He asks how much of our emotional response to art is a product of our brains reacting to pattern and structure, and exactly what it is to be creative in mathematics, art, language and music. He finds out how long it might be before machines come up with something creative, and whether they might jolt us into being more imaginative in turn. The result is a fascinating and very different exploration into both AI and the essence of what it means to be human. He discusses the issues with quantum physicist José Ignacio Latorre.