On the grand partition function of a superconducting fermi system