See stirling_numbers for documentation.