Using the given equation (1) of states in each shell, we get that for the four shells (n = 1 through 4) the number of available states are 2, 8, 18 and 32. Since the number of electrons considering these shells accommodate to 2+8+18+32 = 60 electrons < 63.
According to the “logical” sequence the first four shells would be completely filled in a Europium atom, leaving 63 - 60 = 3to partially occupy the n = 5 shell. Two of these three electrons would fill up the subshell, leaving only one electron partially filled subshell (the 5p subshell).
In chemical reaction this electron would have the tendency to be transferred to another element, leaving the remaining 62 electrons in chemically stable configuration, completely filled subshells.
Hence, this situation is very similar to the case of sodium, which also has only one electron in a partially filled shell (the 3s subshell.)