A system with infinite quantity of the boundary integral equations which is equivalent to the Dirichlet problem for some triangular system of elliptical equations and its weak formulation has been considered. A recurrent algorithm for solving such systems has been constructed. It involves finding the components of the solution using the boundary elements method step-by-step. The convergence orders for the collocation and the Galerkin methods have been compared.