Brownian Motion and the Generalized Catalan Numbers