Question: how many electrons are needed to fill all of the d orbitals in n=4?
Answer: 32 electrons. For n = 4 there are 4 different possibilities for Azimuthal quantum number (ℓ) -> 0, 1, 2, 3. If ℓ=0, magnetic quantum number (m) is 0. Summing every state -> 16 states.