The distribution of electrons in various energy levels is called electronic configuration.
Energy cell can have a fixed no. of electrons in a shell
e.g.For 1st shell=2n^2(where n=shell no.)=2*1^2(here n=1 as energy shell is 1)=2(Kshell)
Likewise these all
K shell L shell M shell N shell
2 8 18 32