FA-5628 / Combinatorics / Member archive
Prime length necklace colorings · case 03
Dividing all words by the length mishandles constant words with smaller rotation orbits.
Case contract
Nonnegative integer counts. Permutation and combination counts are zero when a requested selection exceeds the available objects. Shape sizes satisfy the preconditions stated below. length is prime and colors>=1; count colorings of a labelled-position cycle up to rotations, retaining reflection distinctions. Exact operational definition: (colors**length+(length-1)*colors)//length
Why this case matters
Small exact fixtures expose this error without platform timing, external services, or probabilistic observations. Combinatorics results depend on the stated convention.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 1: (3, 2) | 2 | 4 | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗