A one-dimensionalN Fermion problem with factorizedS matrix