Give the set of four quantum numbers that represent the indicated electron in each of the following elements.
Mg (7th electron)
(i) 1s22s22p63s23p64s23d104p65s1
(ii) 1s22s22p63s23p5
(iii) 1s22s22p63s23p64s23d8
(iv) 1s22s22p63s23p64s23d104p6
(v) 1s22s22p43s1
Which ground state electron configuration has the smallest number of valence electrons?