Using the techniques introduced by D.Mayer, we prove an extension of the classical Gauss-Kuzmin theorem about the distribution of continued fractions, which in particular allows one to take into account some congruence properties of consecutive convergents. We then study some averages related to modular symbols.