Prout's hypothesis being correct. Nevertheless, the rule was not found to predict isotope masses better than this for all isotopes, due mostly to mass-defects resulting from release of binding energy in atomic nuclei, when they are formed. Although all elements are the product of nuclear fusion of hydrogen into higher elements, it is now understood that atoms consist of both protons (hydrogen nuclei) and neutrons. The modern version of Prout's rule is that the atomic mass of an isotope of proton number (atomic number) "Z" and neutron number "N" is equal to sum of the masses of its constituent protons and neutrons,
Nuclear physics as a function of atomic and neutron numbers, the binding energy of the nuclides forms what is known as the valley of stability. Stable nuclides lie along the bottom of this energy valley, while increasingly unstable nuclides lie up the valley walls, that is, have weaker binding energy. The most stable nuclei fall within certain ranges or balances of composition of neutrons and protons: too few or too many neutrons (in relation to the number of protons) will cause it to decay. For example, in beta decay a nitrogen-16 atom (7 protons, 9 neutrons) is converted to an oxygen-16 atom