In natural units, the equilibrium phase-space distribution function is
where the minus sign gives the Bose-Einstein distribution for bosons and the plus sign gives the Fermi-Dirac distribution for fermions.
Solved by gpt-5.6-sol high.