  Let A be the algebra generated by the power series \sum n^{n-1} q^n/n! and \sum n^n q^n /n! . We prove that many natural generating functions lie in this algebra: those appearing in graph enumeration problems, in the intersection theory of moduli spaces M_{g,n} and in the enumeration of ramified coverings of the sphere.   We argue that ramified coverings of the sphere with a large number of sheets provide a model of 2-dimensional gravity. Our results allow us to compute the asymptotic of the number of coverings as the number of sheets goes to infinity. The leading terms of such asymptotics are the values of certain observables in 2-dimensional gravity. We prove that they coincide with the values provided by other models. In particular, we recover a solution of the Painleve I equation and the string solution of the KdV hierarchy. 
Enumeration of ramified coverings of the sphere and 2-dimensional   gravity