You can purchase the book through Princeton University Press or Barnes & Noble . Magical Mathematics | Princeton University Press

Magical Mathematics: The Mathematical Ideas That Animate Great Magic Tricks by Persi Diaconis and Ron Graham explores the mathematical principles underpinning "self-working" magic tricks, covering topics like De Bruijn sequences, the Gilbreath principle, and card shuffling. The book provides instructions for various tricks, along with their mathematical explanations and historical context, offering a deep dive into the intersection of magic and mathematics. It was recognized with the 2013 Euler Book Prize and offers insights from two expert mathematicians who are also skilled performers.