Question: how many valence electrons does phosphorus need to be stable?
Answer: According to the periodic table above, phosphorus belongs to Group 5A. Therefore, Its valence electrons should be 5. The outermost orbitals, 3s2 3p3 , contains 5 electrons.