Use a stars and bars bijection. For a tuple, place stars in consecutive blocks of lengths , separated by bars. The bar positions form an -element subset of . Explicitly,They satisfy . Conversely, such a subset determinesThese numbers are nonnegative and sum to , proving that the two constructions are inverse. HenceZero-length blocks are permitted, so the bijection also covers .
Articles by others on the same topic
There are currently no matching articles.