Let’s say i have n identical classical non interacting particles and N sites where i can put them in. BUT the total energy is given.
The number of possible states is (N)^n/n!/(n/2)!
Where N^n is the total possibilities to arrange the particles.
We divide it by n! since they are identical...