Question: why is the periodic table periodic?
Answer: Having exactly filled s and p orbitals is the most stable, and each n has its own set of s and p. ... It's how close the atoms are to filled s and p orbitals - regardless of their n quantum number - and what it takes to get there which provides the bulk of the "periodicity" of the periodic table.