Edgar Allen Poe, The Purloined Letter.

This is one of Poe's Tales of Mystery and Imagination, hence the clue. Poe seems to have had only a vague idea of what mathematics was, but to have been against it anyway.