Exercise 2113Number theory › CongruencesM1Added 3 Nov 2026
Stirling numbers via modular arithmetic
#Stirling#modular arithmetic#combinatorics
Statement
Compute the Stirling number of the second kind for small and verify the recursion .
Hint
counts partitions of into nonempty subsets.
Show solutionHide solution
Solution
Base cases. , , if or (for ).
Recursion. Partition the set into blocks. If element is alone: ways. Otherwise, joins one of the blocks of a partition of the first elements into blocks: ways.
Values.
-
-
-
Conclusion. The recursion holds.