Source: https://emmanuel.hourdequin.free.fr/documents/BTS_BAT_TP/cours/exercices_atomes_et_ions.pdf