Skip to content

Main content

Necklace Orbit Size Tool

Count distinct cyclic rotations of an explicitly supplied nonempty necklace; reflections are distinct.

Loading tool…

Description

Return a bead word's rotation orbit and stabilizer sizes.

Partitions, permutations and circular words use distinct encodings and symmetry conventions. Parity, block bounds and orbit-size identities can follow from supplied counts without verifying a complete object or identifying its actual symmetry.

Return a bead word's rotation orbit and stabilizer sizes.

When to use this tool

Use Necklace Orbit Size when checking the stated partition, permutation or rotation/reflection convention.

How to use the tool and how it works

  1. Enter beads. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read orbitSize, stabilizerSize. Use the output convention below.

Return a bead word's rotation orbit and stabilizer sizes. Require nonempty beads; find the smallest divisor p of length whose pattern repeats literally, orbitSize = p, stabilizerSize = length/p.1

Input fieldMeaning and unitsAccepted input
beadsBeadsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
orbitSizeOrbit SizeRequired. Safe integer.
stabilizerSizeStabilizer SizeRequired. Safe integer.
json
{
  "input": {
    "beads": [
      "A",
      "B",
      "A",
      "B"
    ]
  },
  "output": {
    "orbitSize": 2,
    "stabilizerSize": 2
  }
}

Limitations and assumptions

  • This quotients rotations only; reflections, color relabeling and semantic bead equivalence are not included.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Validate the complete combinatorial object and its action/labeling convention before applying whole-object enumeration, ranking or symmetry conclusions.

References

  1. Calculation and input contract: combinatorics/necklace-orbit-size — tool.io

Similar or alternative tools