the 2n2 equation gives us the maximum number of electrons a shell can hold. if like charges repel each other how can an atom hold so many electrons?
They are attracted by an Equal Number of protons!