Memorizing the periodic table