A nucleus has Z protons and N neutrons, and its mass number is A = Z + N. Isotopes of an element have the same Z but different N.
A nucleus has less mass than its separate protons and neutrons. This difference is the mass defect, and its energy equivalent is the binding energy that holds the nucleus together. The higher the binding energy per nucleon, the more stable the nucleus. It is greatest near iron-56.
Unstable nuclei decay by emitting α-particles (helium nuclei), β-particles (electrons) or γ-rays (photons). Decay is random, but for a large sample the half-life, the time for half the nuclei to decay, is constant. The activity halves in each half-life too.