Oxford mathematician Marcus du Sautoy said that prime numbers are hidden within the texts of William Shakespeare [1].
This discovery suggests that a deep, structural link exists between the rigid rules of mathematics and the fluid nature of artistic creativity. By identifying these patterns, du Sautoy aims to show that the foundations of great literature may be built upon mathematical principles.
Speaking at the Royal Institution in London, du Sautoy used the works of Shakespeare as a primary case study to illustrate his theory [1]. He said that these mathematical structures are not limited to 16th-century plays but extend to other creative mediums. His research includes examining the works of the band Radiohead and the animations produced by Pixar [3].
These findings were detailed in a 2025 publication exploring how mathematics shapes creativity [2]. The work posits that the same underlying structures that govern prime numbers also influence the way humans compose music, and write drama. This approach treats creativity not as a random spark of inspiration, but as a process guided by hidden patterns [2].
Du Sautoy's analysis focuses on the intersection of logic and art. He said that by uncovering these blueprints, scholars can better understand the mechanics of beauty and resonance in art [3]. The presence of prime numbers in Shakespeare's writing serves as a bridge between the quantitative and qualitative worlds [1].
While traditional literary analysis focuses on theme and character, this method introduces a computational layer to the study of the humanities. Du Sautoy said this perspective reveals a universal language that connects disparate fields of human achievement [2].
“Prime numbers are hidden within the texts of William Shakespeare.”
The application of number theory to literature shifts the study of the humanities from purely interpretive analysis to a structural science. If mathematical patterns like prime numbers are consistently found in high-impact creative works, it suggests that human aesthetic preference may be biologically or mathematically predisposed to specific patterns of complexity.





