An integer composition of a nonnegative integer is a tuple of nonnegative integers whose sum is ; the ’s are called the parts of the composition. For fixed number of parts, the number of -weighted integer compositions (also called -colored integer compositions in the literature), in which each part size may occur in different colors, is given by the extended binomial coefficient . We derive several congruence properties for , most of which are analogous to those for ordinary binomial coefficients. Among them is the parity of , Babbage’s congruence, Lucas’ theorem, etc. We also give congruences for , the number of -weighted integer compositions with arbitrarily many parts, and for extended binomial coefficient sums. We close with an application of our results to prime criteria for weighted integer compositions.

生成讲解博客的中文版本

生成AI智能校验的中文版本