Mastering Periodic Trends