These books may contain elements of, or things that depend on, mathematics - number systems, codes or time travel, for example. They may use the narrative to explore simple or complex mathematical concepts. They may feature real or imagined mathematicians. Find the brilliant source for these reviews here.
These can be stories which specifically refer to the solving of numeric codes, or more generally the idea that solving codes very often requires one to employ mathematical skills.