We have a system, with fixed energy E, of N >> 1 non-interacting and distinguishable particles whose energies are either "0" or "€". Determine the entropy of the system, the temperature as a function of E, and say for which values of the occupation numbers n0 and n1 we have T < 0.

I have some difficult to solve to answer to the last question on the occupation numbers.