The bateman method and algebraic solution of the three-nucleon integral equations