A remarkable thermodynamic fermion–boson symmetry is found for the canonical ensemble of ideal quantum gases in harmonic oscillator potentials of odd dimensions. The bosonic partition function is related to the fermionic one extended to negative temperatures, and vice versa.