What formula is used to calculate the maximum number of electrons in a shell of principal quantum number nnn?
2n22n^22n2