What is the relationship between the electronic configuration, group and period numbers?

Can someone please answer this.​