Analysis of ionisation energies of ions, ionic radii in a crystal lattice and the energy of electrons in ionic cores of metal atoms