An expansion of the moments of powers of a Fermi distribution