English

Necklaces, subset sums, and cyclic permutations

Combinatorics 2026-04-22 v2

Abstract

It is a well known that, for odd nn, the number of subsets of {1,2,,n}\{1,2,\dots,n\} the sum of whose elements is divisible by nn equals the number of binary necklaces of length nn. In this paper generalize this result in two directions. On the one hand, we introduce a parameter rr so that requiring the subset sums to be congruent to rr modulo nn translates into imposing some periodicity conditions on the necklaces. On the other hand, we refine these relations by the size kk of the subset, showing that it matches the number of ones in the necklace. We describe the precise conditions on nn, kk and rr for which the equalities hold. We also extend some of our formulas to qq-ary necklaces. The classical results correspond to the case r=0r=0. When r=1r=1, our identity is related to a conjecture of Baker et al. connecting subsets the sum of whose elements is congruent to 11 modulo nn 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.

Keywords

Cite

@article{arxiv.2603.15830,
  title  = {Necklaces, subset sums, and cyclic permutations},
  author = {Robert Dougherty-Bliss and Sergi Elizalde},
  journal= {arXiv preprint arXiv:2603.15830},
  year   = {2026}
}

Comments

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

R2 v1 2026-07-01T11:23:06.119Z