Elements in group 1-2, 13-18, the number of valence electrons is related to the group number. For example, in the first group, the alkali metals there is one valence electron, however in group 13, there are 3 valence electrons. Valence electrons are also known as the outershell electrons.
One would be phosporous whose configuration is 1s2 2s2 2p6 3s2 3p3
This equation is impossible. NaSO4 is non-existent. Did you mean Na2SO4?