“Truel,” a mathematical romance by Tom Vaughan.
(This is based on a problem in game theory, but interestingly the hero is named Galois and one of his opponents is d’Herbinville — that’s the name of the man Alexandre Dumas identified as the opponent of Évariste Galois in his fatal duel of 1832.)