SASMO Counting: No Correct Labels Requires More Than Subtracting Four Cases

Four distinct labels A, B, C and D are assigned one each to four corresponding positions. How many assignments put every label in a position with a different name? This original SASMO-style extension asks for permutations with no fixed positions, sometimes called derangements. All labels remain used exactly once; allowing repetition or leaving a position empty would create a different problem.

Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send SASMO-S10-1129 and tell us your school year and question.

Start with all complete assignments

There are four factorial, or twenty-four, permutations of four distinct labels. Define event A to mean label A is in position A, and similarly for the other labels. We want assignments in none of these four events. Subtracting just four permutations is incorrect because each named fixed-position event contains several assignments of the other labels.

Subtract the four single fixed-position counts

For a chosen fixed label, the other three can be arranged in three factorial, or six, ways. Four named choices therefore contribute twenty-four to the first subtraction. Some permutations appear in more than one of these event counts, so this subtraction alone removes too much; an answer of zero at this stage is only an intermediate calculation.

Restore assignments with two named fixed positions

There are six ways to choose two labels to fix, and the remaining two can be assigned in two factorial ways. The pair-intersection contribution is twelve. We add it back because every assignment lying in two named fixed events was subtracted twice even though the union should ultimately exclude it only once.

Continue through triples and all four

Four choices of three fixed labels each leave one completion, producing a subtraction of four. Fixing all four gives one final addition. The result is twenty-four minus twenty-four plus twelve minus four plus one, equal to nine. The identity permutation belongs to many intersections, which is exactly why the complete alternating correction is needed.

Check by a structural classification

A permutation without fixed positions on four objects is either one four-cycle or two disjoint swaps. There are six four-cycles and three ways to split the four labels into two unordered pairs. Their sum is nine, independently confirming inclusion-exclusion. A three-cycle cannot work because the fourth label would then remain fixed.

Convert to probability only under a stated random mechanism

If every complete permutation is equally likely, the chance of no correct positions is nine out of twenty-four, or three eighths. The count itself did not require a random process. Separate the deterministic set of valid assignments from any probability model, and check all overlaps before deciding that subtracting a few obvious unwanted cases is sufficient.

Continue reading: SASMO Counting: Minimum and Maximum Conditions Both Matter in an Integer Sum.

Contact Hanlin

Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send SASMO-S10-1129. Include your school year, country or competition region, experience and the question you want to discuss.

Scan to contact Hanlin on WeChat. Send SASMO-S10-1129.

Contact Hanlin on WeChat

On your phone, use the button or save the QR image and scan it within WeChat.

Official information and further reading: Source 1

Online Customer Service
Contact Customer Service