Wikipedia:Reference desk/Archives/Mathematics/2021 June 29

Mathematics desk
< June 28 << May | June | Jul >> Current desk >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


June 29

edit

Number of ways to split N people into k groups of at least m

edit

(Inspired by the random number game above.)

The number of ways to partition N elements among exactly k sets is the Stirling number of the second kind. What if I impose that each set must be at least of size m? (For bonus points: what if it must be at least of size m, and at most of size M?)

I thought of the following recursion: denoting that number by  , look over all possible sizes j of the group in which the first element is, then we must group j-1 other elements among the rest with it, and we have   ways to arrange the rest. You need to fix the first element in the group you split off, otherwise different sequences of splits might lead to the same final partition and you would have multiple counting. Hence  . The initialisation is fairly trivial:   is 0 if N<m, 1 otherwise. Assuming the reasoning is correct, that formula looks like the kind of stuff where one could get a non-recursive formulation... TigraanClick here for my talk page ("private" contact) 12:48, 29 June 2021 (UTC)[reply]

See associated Stirling numbers for your first question.--2406:E003:855:9A01:B15B:27D4:E79:599E (talk) 14:54, 29 June 2021 (UTC)[reply]