On the factorization of consecutive integers