'The Swords of Truth' trick is an ingenious and intriguing little mathemagic trick based on the work of magician and computer programmer Alex Elmsley, notable for his mathematical card tricks, and for publishing on the mathematics of playing card shuffling. The trick has been described by Michael Stevens (@Vsauce) and Professor Hannah Fry (@fryrsquared) in their 'The Rest is Science' podcast as 'one of the most deceptively tricky logic puzzles of the last century... [a] this seemingly innocent riddle [that has] fascinated mathematicians, programmers and puzzle-solvers for decades'.
Specifically, the 'Swords of Truth' trick — designed by Dave Janelle with a wonderful wooden keychain version manufactured and sold by Creative Crafthouse — utilises a binary grouping logic Alex Elmsley applied to a card trick using 16 cards. Elmsley originally published this routine in the September 1958 issue of the magic journal 'Ibidem (Issue 14)', under the title 'Mathematics and Mentliasm', which can also be viewed in Stephen Minch's 1991 'Collected works of Alex Elmsley, Volume 1', pp378-380.
For a maths teacher, 'The Swords of Truth' is a potent conceit that piques students' interest and that — when used carefully of course (see 'When Magic Fails in Mathematics,' by Junaid Mubeen, for example) — levers and encourages strong, mathematically mature thinking. After playing the trick out on/with students, it is demystified carefully, and collectively, before students use their newfound knowledge and understanding creatively in devising a different trick, based on the same principles. (Downloads of the 'swords' can be accessed here, in pdf, png and ppt.)








