As you may well know, *Star Trek* was a science fiction TV show in the late 1960s. It featured futuristic technology and science fiction ideas such as warp drives, transporters, strange new worlds, time travel, and green alien space babes. And the possibility of all these things has, in the past, been discussed by experts, and nerds, in great detail. Especially that last one about green space babes.

But dammit, I’m a mathematician, not a physicist. So, instead of talking about the science of Star Trek yet again, what about the maths of Star Trek? After all, Star Trek is science fiction, but there is no such thing as maths fiction – so any mathematics featured on the show is sure to be on firmer ground. Right? Or as Spock himself says in ‘The Conscience of the King’;

SPOCK: Even in this corner of the galaxy, Captain, two plus two equals four.

Should we even expect much maths to feature on a simple space adventure show? In fact, many interesting mathematical ideas were raised during the show’s short run of 79 episodes, including; the probability we are alone in universe; a paradox that upset 20^{th} century mathematicians as well as 23^{rd} century androids; the mathematics of alien and Earth biology; and the most important question of all – when on a dangerous away mission, does the colour of your shirt really affect your chances of survival?