All of them.
mg
Boron
Eight
Mg -magnesium.
I assume you mean for each atom. If I remember correctly, the shells go 2, 8, then 18 on the third layer.
In a sulfur atom, the third energy level can contain a maximum of 18 electrons. The electrons are distributed among the different orbitals in the third energy level according to the rules of electron configuration.
Phosphorus has five electrons in the third energy level (n=3).
The element with 2 valence electrons on the third energy level is magnesium. Magnesium has an electron configuration of 2-8-2, with 2 electrons on the outermost energy level.
The element with the electron arrangement 2-8-7 is fluorine, which has the atomic number 9. Fluorine has 9 electrons, arranged as 2 in the first energy level, 8 in the second energy level, and 1 in the third energy level.
The correct electron configuration for an element with 5 electrons in the third energy level is 1s2 2s2 2p6 3s2. This configuration follows the Aufbau principle, which dictates the filling order of electrons in an atom's energy levels.
The element with five electrons in the third energy level (n=3) is phosphorus (P). In its electron configuration, phosphorus has the atomic number 15, with the distribution of electrons as 1s² 2s² 2p⁶ 3s² 3p³. Thus, it has five electrons in the third energy level (2 in the 3s subshell and 3 in the 3p subshell).
The element that fits this description is lithium. It has 3 electrons, with 2 of them in the third energy level.