with ε i > μ and where n i is the occupation number (the number of particles) in state i, g i is the degeneracy of energy level i, ε i is the energy of the i -th state, μ is the chemical potential (zero for a photon gas), k B is the Boltzmann constant, and T is the absolute temperature.