Necklace problem
The necklace problem is a problem in recreational mathematics concerning the reconstruction of necklaces (cyclic arrangements of binary values) from partial information.
01Formulation
The necklace problem involves the reconstruction of a necklace of beads, each of which is either black or white, from partial information. The information specifies how many copies the necklace contains of each possible arrangement of
black beads. For instance, for
, the specified information gives the number of pairs of black beads that are separated by
positions, for
.
This can be made formal by defining a
-configuration to be a necklace of
black beads and
white beads, and counting the number of ways of rotating a
-configuration so that each of its black beads coincides with one of the black beads of the given necklace.
The necklace problem asks: if is given, and the numbers of copies of each
-configuration are known up to some threshold
, how large does the threshold
need to be before this information completely determines the necklace that it describes? Equivalently, if the information about
-configurations is provided in stages, where the
th stage provides the numbers of copies of each
-configuration, how many stages are needed (in the worst case) in order to reconstruct the precise pattern of black and white beads in the original necklace?
02Upper bounds
Alon, Caro, Krasikov and Roditty showed that 1 + log2(n) is sufficient, using a cleverly enhanced inclusion-exclusion principle.
Radcliffe and Scott showed that if n is prime, 3 is sufficient, and for any n, 9 times the number of prime factors of n is sufficient.
Pebody showed that for any n, 6 is sufficient and, in a followup paper, that for odd n, 4 is sufficient. He conjectured that 4 is again sufficient for even n greater than 10, but this remains unproven.
Sources and credits
This article is adapted from the Wikipedia article “Necklace problem”, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.
Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.