On moving across a period, the atomic size decreases and nuclear charge increases and therefore the force of attraction exerted by the nucleus on the electron in the outermost shell increases.
Potassium forms K+ ion but it does not form K2+ because of;
Low value of (I.E.)1 and high value of (I.E.)2
KI.E.1−−−→K+I.E.2−−−→K2+
I.E.2>>>I.E.1 ∴ Potassium gets ionized only once after which attains inert gas configuration.
K+=1s2, 2s2, 2p6, 3s2 3p6