On equations for the coefficient functions of the S matrix in quantum field theory