Hello!
Let E_1, E_2, \ldots, E_n be n allowed energy levels for a system of electrons. This system can be described by the Fermi-Dirac distribution f(E).
Each of those levels can be occupied by two electrons if they have opposite spins.
Suppose that E_1, E_2, \ldots, E_n are such that...