this is the Shannon entropy of N independent particles for a single event. Shannon entropy is a general version of Boltzmann's entropy where the probability of microstates is not necessarily equal. If we substitute the above equation into the Gibbs free energy relation of the net entropic energy of a system, the following equation returns: