Isaac Asimov(click on names to see more mathematical fiction
by the same author)

...

Tom Trumbull, one of Asimov's regular "Black Widower" mystery
characters, wants to convince an eccentric mathematician (working on
Goldbach's conjecture) that his secret password is not safe.
Combinatorics plays a role. See also these [1, 3] other BW stories.

Contributed by
Jose Brox

A Black Widowers short story with some interesting dialogues, but with a quite dumb and out-of-the-blue ending solution that spoiled out the fun for me

Your Help Needed: Some site visitors remember reading works of mathematical fiction that neither they nor I can identify. It is time to crowdsource this problem and ask for your help! You would help a neighbor find a missing pet...can't you also help a fellow site visitor find some missing works of mathematical fiction? Please take a look and let us know if you have seen these missing stories anywhere!.