A generalization of the Stirling numbers