a list compiled by Alex Kasman (College of Charleston)

Home All New Browse Search About

Men at Arms (1993)
Terry Pratchett
(click on names to see more mathematical fiction by the same author)

Contributed by Lapo Fanciullo

The main plot is not math-related: the Night Watch has to solve a series of mysterious murders, all while dealing with the internal tensions due to the Patrician-mandated hiring of "ethnic minorities" -- namely, a dwarf, a troll and a woman (there's more to it, but I can't add anything without risking a spoiler). However, mathematics plays an important role in the subplot where Cuddy the dwarf and Detritus the troll overcome their mutual dislike (on Discworld, dwarfs and trolls cannot stand each other).

In this book Pratchett introduces one of the most successful ideas of the Discworld series: trolls -- which in this universe are big humanoids made of stone -- have brains that are mostly silicon, and therefore they are essentially living computers. This has two main consequences:

  1. Trolls naturally count in base two (which unfortunately is never explored in subsequent books), and
  2. Trolls become smarter when it's cold, because their brain conductivity increases (this would come up a few more times in the series).

When Cuddy and Detritus are sent on patrol and begrudgingly get to know each other better, Cuddy discovers that the expressions Detritus uses -- such as "two and one" for "three" -- don't mean that he cannot count. As a matter of fact, despite being quite dumb, Detritus is really good at counting (I just realized this is a pretty apt description of computers); he's just most used to powers of two.

(quoted from Men at Arms)

"A two-thirtytwo, and eight, and a one!"

"See? How many bricks in that pile?"


"A sixteen, an eight, a four, a one!"

"Remember what I said about dividing by eight-and-two?"

Longer pause.


"Right! [...] If you can count to two, you can count to anything!"

The 'smarter when it's cold cold' angle comes into play later, when the two are trapped in (the magical equivalent of) a walk-in freezer. Detritus manages to throw Cuddy out a window to look for help, and while waiting for rescue he takes the counting game he just discovered a few notches further.

(quoted from Men at Arms)

He calculated the number of bricks in the wall, first in twos and then in tens and finally in sixteens. The numbers formed up and marched past his brain in terrified obedience. Division and multiplication were discovered. Algebra was invented and provided an interesting diversion for a minute of two. And then he felt the fog of numbers drift and away, and looked up and saw the sparkling, distant mountains of calculus.

While there is no explicit discussion of maths, this section is nothing less than a love letter to higher mathematics. When Cuddy gets someone to open the freezer door -- just in time to save Detritus, frozen still and ice-covered -- the troll may have reinvented all of known mathematics.

(quoted from Men at Arms)

The inner walls of the warehouse were covered with numbers. Equations as complex as a neural network had been scraped in the frost. At some point in the calculation the mathematician had changed from using numbers to using letters, and then letters themselves hadn't been sufficient; brackets like cages enclosed expressions which were to normal mathematics what a city is to a map.

They got simpler as the goal neared -- simpler, yet containing in the flowing lines of their simplicity a spartan and wonderful complexity. [...] This was maths without numbers, pure as lightning.

They narrowed to a point, and at the point was just the very simple symbol: "=".

"Equals what?" said Cuddy. "Equals what?"

There's a debate in the fandom on whether Detritus was stopped just short of solving the ultimate equation that would make sense of all mathematics, of whether the equal sign itself is supposed to be the final result, expressed in some symbolic system above human comprehension.

Whatever your interpretation, this remains a powerful section in the book: Cuddy and Detritus get so excited in their discovery of base two that they bond over the experience, and the subplot culminates in one of the best written praises of the beauty of maths. This is one of my favorite scenes in all of Discworld, and I love to go back and reread it.

Buy this work of mathematical fiction and read reviews at logo
(Note: This is just one work of mathematical fiction from the list. To see the entire list or to see more works of mathematical fiction, return to the Homepage.)

Works Similar to Men at Arms
According to my `secret formula', the following works of mathematical fiction are similar to this one:
  1. Pyramids by Terry Pratchett
  2. The Dark Side of the Sun by Terry Pratchett
  3. Matrices by Steven Nightingale
  4. Gulliver's Travels by Jonathan Swift
  5. Progress by Alex Kasman
  6. Incomplete Proofs by John Chu
  7. Thursday Next: First Among Sequels by Jasper Fforde
  8. The Better Mousetrap by Tom Holt
  9. Barking by Tom Holt
  10. Numberland by George Weinberg
Ratings for Men at Arms:
RatingsHave you seen/read this work of mathematical fiction? Then click here to enter your own votes on its mathematical content and literary quality or send me comments to post on this Webpage.
Mathematical Content:
1.5/5 (2 votes)
Literary Quality:
4/5 (2 votes)

GenreHumorous, Fantasy,
TopicComputers/Cryptography, Algebra/Arithmetic/Number Theory,

Home All New Browse Search About

Exciting News: The total number of works of mathematical fiction listed in this database recently reached a milestone. The 1,500th entry is The Man of Forty Crowns by Voltaire. Thanks to Vijay Fafat for writing the summary of that work (and so many others). I am also grateful to everyone who has contributed to this website. Heck, I'm grateful to everyone who visited the site. Thank you!

(Maintained by Alex Kasman, College of Charleston)