The Adventure of the Dancing Men is a Sherlock Holmes story written by Sir Arthur Conan Doyle. It was first published in The Strand Magazine in the United Kingdom in December 1903. Holmes's solution to the riddle of the dancing men rests on reasoning that closely resembles that of Legrand in Poe's "The Gold Bug"