(i) Given 3 distinguishable particles each of which can be in any of 4 states with (different) energies $E_{1}, E_{2}, E_{3}$, and $E_{4}$, (a) what is the total number of ways of distributing the particles amongst the states?, (b) how many states of the system have total energy $E_{1}+E_{2}+E_{4}$ ? (ii) Repeat (i) for 3 electrons instead of distinguishable particles.