What is the maximum number of orbitals in the 1st 2nd 3rd and 4th energy level?

Respective maxima of orbitals in 1st to 4th (and 5th and 6th) energy levels2, 8, 18, 32, (50, 72 but this max. is never reached)