Partition function for a one-dimensional delta-function Bose gas.

The N-particle partition function of a one-dimensional delta-function Bose gas is calculated explicitly using only the periodic boundary condition (the Bethe ansatz equation). The N-particles cluster integrals are shown to be the same as those by the thermal Bethe ansatz method.