In nuclear physics, a magic number is a number of nucleons (either protons or neutrons, separately) such that they are arranged into complete shells within the atomic nucleus. As a result, atomic nuclei with a "magic" number of protons or neutrons are much more stable than other nuclei. The seven most widely recognized magic numbers as of 2019 are 2, 8, 20, 28, 50, 82, and 126.
For protons, this corresponds to the elements helium, oxygen, calcium, nickel, tin, lead, and the hypothetical unbihexium, although 126 is so far only known to be a magic number for neutrons. Atomic nuclei consisting of such a magic number of nucleons have a higher average binding energy per nucleon than one would expect based upon predictions such as the semi-empirical mass formula and are hence more stable against nuclear decay.