The decision of a boundary problem for the differential equation of the second order a method of iterations