Patterns in the periodic table