Upon working on the Manhattan Project, the German physicist Maria Goeppert Mayer became interested in the properties of nuclear fission products, such as decay energies and half-lives. In 1948, she published a body of experimental evidence for the occurrence of closed nuclear shells for nuclei with 50 or 82 protons or 50, 82, and 126 neutrons. 
It had already been known that nuclei with 20 protons or neutrons were stable: that was evidenced by calculations by Hungarian-American physicist Eugene Wigner, one of her colleagues in the Manhattan Project. Two years later, in 1950, a new publication followed in which she attributed the shell closures at the magic numbers to spin-orbit coupling. According to Steven Moszkowski, a student of Goeppert Mayer, the term "magic number" was coined by Wigner: "Wigner too believed in the liquid drop model, but he recognized, from the work of Maria Mayer, the very strong evidence for the closed shells. It seemed a little like magic to him, and that is how the words Magic Numbers were coined."
These magic numbers were the bedrock of the nuclear shell model, which Mayer developed in the following years together with Hans Jensen and culminated in their shared 1963 Nobel Prize in Physics.