Elements on a periodic table are combined in groups by –