Edgar Allan Poe's interest in brainteasers of all sorts—he was a master at cryptography—led naturally to the creation of the first fictional sleuth, C. Auguste Dupin, and that mighty genre, detective fiction. Writing about crime was not merely one more way for Poe to frighten his readers. Poe was responding, too, to cultural influences. He was also testing his readers’ ability to think analytically.

