paper

Necklaces, subset sums, and cyclic permutations

arXiv:2603.15830

Abstract

It is a well known that, for odd , the number of subsets of the sum of whose elements is divisible by equals the number of binary necklaces of length . In this paper generalize this result in two directions. On the one hand, we introduce a parameter so that requiring the subset sums to be congruent to modulo translates into imposing some periodicity conditions on the necklaces. On the other hand, we refine these relations by the size of the subset, showing that it matches the number of ones in the necklace. We describe the precise conditions on , and for which the equalities hold. We also extend some of our formulas to -ary necklaces. The classical results correspond to the case . When , our identity is related to a conjecture of Baker et al. connecting subsets the sum of whose elements is congruent to modulo and unimodal permutations which consist of one cycle. We prove this conjecture using generating functions. Finding bijective proofs of most of our identities remains an open problem.

This version adds a new section generalizing some results to q-ary necklaces and multisubsets of [n] with each element repeated fewer than q times

Necklaces, subset sums, and cyclic permutations · wovepaper