
Can AI truly create? Oxford mathematician Marcus du Sautoy explores algorithms that compose Bach-like music and create Pollock-style art. Endorsed by author Jeanette Winterson as "a brilliant travel guide to the coming world of AI," this PROSE Award winner redefines human creativity.
Marcus Peter Francis du Sautoy is the acclaimed mathematician and bestselling author of The Creativity Code: How AI Is Learning to Write, Paint, and Think, and holds Oxford University’s prestigious Simonyi Professorship for the Public Understanding of Science. A leading voice in exploring mathematics’ intersection with art and technology, his work bridges abstract theory and creative expression—a theme central to this examination of artificial intelligence’s creative potential.
Du Sautoy’s previous works, including The Music of the Primes (a landmark exploration of prime numbers) and Thinking Better: The Art of the Shortcut (a guide to mathematical problem-solving), have been translated into over 20 languages and featured in his BBC documentaries and Royal Institution Christmas Lectures.
As a Fellow of New College, Oxford and recipient of both the Berwick Prize for mathematical research and the Royal Society’s Michael Faraday Prize for science communication, he combines academic rigor with accessible storytelling. His insights regularly appear in The Guardian and The Telegraph, while his 2008 TED Talk on symmetrical patterns has garnered over 1.5 million views. The Creativity Code builds on his decades of research into computational models of human cognition, cementing his reputation as a pivotal thinker in mathematics’ cultural applications.
The Creativity Code explores whether artificial intelligence (AI) can achieve human-like creativity, examining breakthroughs like AlphaGo’s victory over Lee Sedol and AI-generated music/art. Marcus du Sautoy, a mathematician, investigates how algorithms learn, create, and challenge traditional notions of innovation, blending philosophy, mathematics, and real-world examples to question if machines can transcend their programming.
This book suits readers interested in AI’s ethical and creative potential, including mathematicians, artists, and tech enthusiasts. It appeals to those curious about algorithmic innovation, the future of human-machine collaboration, and the philosophical implications of AI-driven creativity. Du Sautoy’s accessible style makes complex concepts approachable for non-experts.
Yes, for its thought-provoking analysis of AI’s creative boundaries. Readers praise its interdisciplinary insights and engaging examples, though some note heavy mathematical content. It balances technical depth with broader existential questions, making it valuable for understanding AI’s evolving role in art, music, and problem-solving.
The Lovelace Test, named after Ada Lovelace, challenges AI to produce original, unexplained creative work. Unlike the Turing Test, it requires output that even programmers can’t fully trace, emphasizing true algorithmic innovation. Du Sautoy uses this framework to evaluate machines’ creative potential in fields like music composition and theorem-proof.
Du Sautoy frames AI creativity through algorithms, neural networks, and evolutionary computation. He links mathematical concepts like pattern recognition and probabilistic learning to AI’s ability to generate art, music, and proofs, arguing that creativity often stems from structured exploration of “mathematical landscapes”.
AlphaGo’s 2016 defeat of Go champion Lee Sedol serves as a pivotal case study. Du Sautoy highlights how its self-taught strategies redefined assumptions about machines’ capacity for intuition and innovation, illustrating AI’s potential to master complex, creative tasks beyond brute-force calculation.
The book analyzes projects like DeepBach (AI-generated music) and AI painting algorithms, showcasing how machines learn from existing works to produce new creations. Du Sautoy questions whether such output is truly original or merely sophisticated mimicry, sparking debates about authorship and artistic value.
Du Sautoy debates consciousness as a prerequisite for creativity, asking if machines can ever “understand” their output. He argues that without self-awareness, AI remains a tool for enhancing human creativity rather than replacing it, though future advancements could challenge this view.
Some reviewers note uneven depth, with excessive focus on mathematical concepts over artistic or ethical dimensions. Others find its AI explanations oversimplified, though most praise its balanced perspective on machines’ creative limitations and possibilities.
Unlike technical AI manuals, du Sautoy’s work emphasizes creativity’s intersection with mathematics and philosophy. It complements titles like Life 3.0 by exploring niche domains (art, gaming) while maintaining accessibility for non-specialists.
Du Sautoy suggests AI amplifies rather than replaces human creativity, acting as a collaborative tool. While machines excel at combinatorial and exploratory creativity, transformative breakthroughs—requiring conscious intent—remain uniquely human, for now.
Examples include AI-authored novels, algorithmically generated jazz improvisations, and automated theorem-proving systems. These cases demonstrate AI’s ability to innovate within constraints, though du Sautoy questions if such outputs hold intrinsic meaning beyond human interpretation.
Feel the book through the author's voice
Turn knowledge into engaging, example-rich insights
Capture key ideas in a flash for fast learning
Enjoy the book in a fun and engaging way
It's not a human move... So beautiful.
Creativity remains the final frontier.
Move 37 represented genuine creativity.
Go had become stuck on a local maximum.
Our lives are completely run by algorithms.
Break down key ideas from Creativity Code into bite-sized takeaways to understand how innovative teams create, collaborate, and grow.
Experience Creativity Code through vivid storytelling that turns innovation lessons into moments you'll remember and apply.
Ask anything, choose your learning style, and co-create insights that truly resonate with you.

From Columbia University alumni built in San Francisco
"Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."
"I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."
"Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."
"Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."
"Reading used to feel like a chore. Now it’s just part of my lifestyle."
"Feels effortless compared to reading. I’ve finished 6 books this month already."
"BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."
"BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."
"BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"
"It is great for me to learn something from the book without reading it."
"The themed book list podcasts help me connect ideas across authors—like a guided audio journey."
"Makes me feel smarter every time before going to work"
From Columbia University alumni built in San Francisco

Get the Creativity Code summary as a free PDF or EPUB. Print it or read offline anytime.
In 2016, the world witnessed something extraordinary. DeepMind's AlphaGo defeated 18-time world champion Lee Sedol at the ancient game of Go-a feat experts believed was decades away. The pivotal moment came in game two when AlphaGo made a move so unexpected that commentator Fan Hui exclaimed, "It's not a human move... So beautiful." Move 37 wasn't just computationally powerful-it was creative. This watershed moment forced us to reconsider our assumptions about machine intelligence and human creativity. Can algorithms truly create? Are our own creative processes more algorithmic than we care to admit? These questions lie at the heart of Marcus du Sautoy's exploration of the frontier where mathematics, art, and artificial intelligence converge. As algorithms like DALL-E and ChatGPT continue producing increasingly sophisticated outputs, we find ourselves at a pivotal moment in understanding what makes human creativity special-and whether machines might someday share this distinctly human trait.
Ada Lovelace claimed in the 1840s that machines could never "originate anything" but only follow human programming. This view persisted until the shift from top-down programming to bottom-up machine learning. Today's algorithms make independent discoveries across medicine, finance, and other fields. Creativity means producing something new, surprising, and valuable. Philosopher Margaret Boden identifies three types: exploratory (extending boundaries within existing rules), combinational (fusing different constructs), and transformational (rule-breaking innovations). Exploratory creativity - comprising about 97% of human creative output - aligns well with computers' strengths in calculation and pattern recognition. The myth of the isolated creative genius receiving divine inspiration doesn't withstand scrutiny. While many creators from ancient Greek poets to mathematician Ramanujan credited supernatural sources, creativity typically follows logical patterns even when creators can't articulate them. Innovation emerges more often from collective intelligence - what Brian Eno calls "scenius" rather than genius. Creative processes require both fundamental training and that mysterious leap that transforms knowledge into innovation.
Mathematics and Go-an ancient Chinese board game of extraordinary complexity-share remarkable similarities. While chess fell to computers in 1997, Go seemed insurmountable, requiring pattern recognition and intuition similar to mathematical exploration. Demis Hassabis left Cambridge determined to create a Go-playing computer through a revolutionary approach: a meta-program that would learn through experience. His company DeepMind first mastered simpler Atari games before advancing to Go. When AlphaGo faced Lee Sedol in 2016, 280 million viewers watched. In game two, AlphaGo's move 37 shocked everyone by breaking centuries of orthodox play, yet proved decisive later. After losing three games, Sedol countered with move 78 in game four-a move AlphaGo assessed as having only a one-in-10,000 chance-causing the machine to falter and lose. These matches demonstrated genuine machine creativity-novel, surprising, and valuable innovations. AlphaGo has revolutionized Go strategy, with traditionally discouraged moves now embraced. As Hassabis explains, Go had become stuck on a "local maximum," but AlphaGo broke conventions to reveal a higher peak-measurably better by about two stones.
Can algorithms create meaningful art? At the Serpentine Gallery, Gerhard Richter's "4900 Farben"-196 paintings of colored squares in 5x5 grids-captivated me. This pattern-seeking behavior is fundamentally human, the same instinct that helped our ancestors spot predators now driving us to find meaning in randomness. Art's origins trace to early humans-100,000-year-old paint kits from South Africa and 40,000-year-old hand stencils in Indonesian caves declaring "This is my mark. This is man." Modern art challenges representation itself through Duchamp's urinal, Cage's silence, and Barry's conceptual pieces. Computer art poses a similar question: if an AI creation moves you emotionally, does its algorithmic origin matter? Fractals-shapes with infinite complexity at any scale-revolutionized computer-generated art. The Mandelbrot set became iconic in 1980s club culture with its dreamlike infinite zooms. When Microsoft and Delft University created "The Next Rembrandt" by analyzing 346 paintings, critic Jonathan Jones called it "a tasteless, insensitive and soulless travesty," arguing it missed Rembrandt's true genius of revealing inner life through art.
Music and mathematics share deep connections through pattern recognition and structure. Leibniz observed that "Music is the pleasure the human mind experiences from counting without being aware that it is counting." Bach exemplifies this connection as one of the first musical coders, with his Mathematical Offering demonstrating an algorithmic approach following Frederick the Great's 1747 challenge. David Cope's Emmy program analyzed compositions by measuring interval tension. In "The Game" - a musical Turing test organized by Cope and mathematician Douglas Hofstadter - audiences consistently mistook Emmy's Bach imitation as genuine while rejecting authentic Bach as computer-generated. Hofstadter was disturbed by Emmy's emotionally evocative Chopin-style piece, questioning how a program that "never lived a moment of life" could create such moving music. Later, Gaetan Hadjeres' DeepBach analyzed Bach's chorales as two-dimensional structures rather than linear progressions. In blind tests, listeners couldn't distinguish between real Bach and DeepBach compositions 50% of the time, with even trained composition students misidentifying DeepBach's work 45% of the time.
Mathematics is fundamentally about creating beautiful patterns with ideas rather than colors or words. This revelation came to me at thirteen through G.H. Hardy's "A Mathematician's Apology," which portrayed mathematics as a creative pursuit where aesthetic sensibility rivals logical correctness. I long believed this creative aspect shielded mathematics from automation. But with algorithms now painting like Rembrandt and creating gallery-worthy art, could they soon recreate the mathematics of Riemann or publish in prestigious journals? Mathematical proof resembles chess - axioms are starting positions and logical deduction provides rules for movement. The true art lies in identifying worthy targets, as asking the right questions often matters more than providing answers. Computers have been invaluable proof partners for nearly fifty years. The Four-Colour Map Problem was first solved in 1976 when Appel and Haken used a computer to analyze 1936 different map configurations, work impossible for humans alone. Though computer-aided proofs initially faced resistance from purists concerned about hidden bugs, they've become commonplace, with mathematicians developing verification systems to ensure their validity.
Creativity and consciousness are inextricably linked. New phenomena can emerge from combinations-consciousness from neurons, wetness from water molecules-suggesting creativity might similarly emerge from algorithmic processes. Yet machines still lack self-reflection and judgment about their output, though adversarial algorithms hint at future possibilities. The fundamental barrier to machine creativity remains the absence of self-motivation. Human creativity stems from our consciousness and desire to break routines, helping us understand our place in the world and share inner experiences. Our creativity is also tied to mortality-our finite existence drives us to leave something meaningful behind. If algorithms could endlessly produce perfect Chopin mazurkas, it would devalue the composer's actual choices. Until machines develop consciousness with feedback qualities similar to the human brain's awake state, they'll remain tools extending human creativity rather than creative entities. Perhaps the most profound question isn't whether machines can be creative, but what their creativity teaches us about ourselves. The ultimate value of creative AI may lie in how it helps us understand the algorithms running in our own heads-the patterns that make us human.