Kekulé’s snake, McCartney’s tune, a frog experiment that came in the night: some of the best ideas have arrived when their finders stopped pushing. Here are a few of those stories, and what they may be telling us about rest.
The answer that came while he wasn’t looking
Most of us know the feeling. You wrestle with a problem all afternoon and get nowhere. Then you’re in the shower, or on a walk, or half asleep, and the answer simply turns up, as if it had been waiting outside the door.
A few of the best-known stories in science and art are about exactly that. Some are well documented. Some have been polished by repetition. All of them are worth knowing, because they point at something most of us have felt but rarely trust.
Kekulé and the snake

In 1890, in Berlin, the German chemist August Kekulé stood up at a dinner in his own honour and told his colleagues how he had found the shape of benzene. For years, chemists had known what benzene was made of and could not work out how the atoms fitted together. Kekulé said he had been dozing in front of a fire when he saw chains of atoms twisting about like snakes. One of the snakes seized its own tail, and the ring spun in front of his eyes. He woke up, and spent the rest of the night working out what it meant.
Whether it happened exactly that way, nobody can say. Historians have doubted parts of it, and Kekulé told it a quarter of a century after the event. But he had the ring, and the ring was right.
Four more
Paul McCartney, the British musician and member of the Beatles, woke one morning in 1964 with a tune in his head. It was so complete that he was sure he had heard it somewhere. He went to a piano, found the chords, and then spent weeks playing it to friends and asking whether they knew it. Nobody did. For a while it was called “Scrambled Eggs.” Later it became “Yesterday,” one of the most recorded songs ever written.
Mary Shelley, the English novelist (1797–1851), sat for days in the wet summer of 1816 in a villa near Geneva, with a ghost-story contest hanging over her and nothing to show for it. Then, one night, lying awake with her eyes shut, she saw a pale student kneeling beside the thing he had made. She wrote about it in her introduction to the 1831 edition of her novel Frankenstein. The book grew from that picture.
Otto Loewi, the German-born physiologist, woke one night in the early 1920s with the design of an experiment on how nerves pass their signals. He scribbled it on a scrap of paper and went back to sleep. In the morning he couldn’t read his own handwriting. The next night the dream came again, at three o’clock, and this time he got up and went straight to the laboratory. He took two frogs’ hearts, stimulated the nerve on one, and showed that a chemical passing from it could slow the other. He shared a Nobel Prize for the work in 1936.
Two more stories come with a warning. Elias Howe, the American inventor of the sewing machine, is said to have dreamed of spears with holes near their tips, and so realised that the eye of his needle should sit at the point. The story was told by others, long after the event, and may have been improved. Srinivasa Ramanujan, the Indian mathematician, said that formulae were given to him in dreams by the goddess Namagiri Thayar. We can’t check that. We can check the formulae, and many of them were right.
What may be going on
Researchers have found that sleep helps the brain sort what it has learned, link new memories to old ones, and drop what it doesn’t need. A mind at rest isn’t switched off. It’s busy with a different kind of work, looser and less careful than the kind we do at a desk.
Nobody can say how much of that explains the famous stories, and the research is still moving. It does suggest why a problem you can’t force will sometimes give way when you stop forcing it.
What to do with all this
You won’t solve your problem by sleeping, and the stories don’t say so. Kekulé had spent years on benzene. Loewi had been thinking about nerves for nearly two decades. Each of them had done the hard work first. The dream came to a mind that was already full.
But there’s a lesson in them for the rest of us. If you’ve pushed as far as you can, and the problem still won’t move, stepping away is not giving up. Take a walk. Sleep on it. Let the thing sit.
Sometimes it comes back as a sentence, or a tune, or a ring of atoms, and sometimes it doesn’t. But the mind seems to have more than one way of working things out.
Sources: Kekulé’s account is from his 1890 speech in Berlin; Mary Shelley’s from her 1831 introduction to Frankenstein; Paul McCartney’s from his interviews, including Barry Miles, Paul McCartney: Many Years from Now (1997); Otto Loewi’s from his own later recollection.
Image above: West Germany issued a postage stamp in 1964 to commemorate the centenary of the discovery of the molecular formula of benzene.

Friedrich August Kekulé (1829-1896) was, from the 1850s until his death, one of the most prominent organic chemists in Europe, especially in the field of theoretical chemistry. He was the principal founder of the theory of chemical structure and in particular the Kekulé structure of benzene. Image: A commemorative postage stamp on Kekulé issued by East Germany in 1979.
Images courtesy Wikipedia.