The atomic number of elements increases by a factor of 1 as we move from left to right across a period. We know that elements in a period involve the filling of same valence shell. So in a period, the electronic configuration mainly involve changes in the valence shell. For example, consider carbon, nitrogen and oxygen. All these elements belong to the 2ndperiod. The atomic number of carbon is 6, of nitrogen is 7 while that of oxygen is 8. So, the electronic configuration of carbon is 2, 4; of nitrogen is 2, 5 while that of oxygen is 2, 6.