Mathematical Mysteries of the Periodic Table previous next
Since the electron can spin up or down, we get 2n2 ways to put an electron in the nth shell:

2 × 12 = 2,      2 × 22 = 8,      2 × 32 = 18,

... and so on. And this explains a lot of the periodic table, though it gets more complicated because electrons repel each other!