To solve the degenerated problem in the Gibbs volume formulation, we proceed along the same lines as in the previous section, but employing the integrated density of states in Eq. ( ). For the quantum harmonic oscillator, this quantity is the number of microstates with energy between 0 and E, ( ) ( )