Equation of state of an ideal Fermi gas