The spaceship SS Pythagoras, passing the uncharted planet Metreon, is attacked by hostile Geometroids who take the crew and ship hostage. The security chief avoided capture. Working alone, they must fix the ship, free the crew, retake control of SS Pythagoras, and stop the Geometroids from reaching Earth. Every objective requires mathematics — the Geometroids chose their targets carefully, but not carefully enough.