SantaSlips / Couples who can't draw each other
Secret Santa with couples who can't draw each other
Marking couples so they never draw each other cannot make a Secret Santa impossible once you have 4 or more people, even if every single person is in a couple. It does cut the number of possible draws: 8 people in 4 couples have 4,752 possible draws instead of 14,833, about a third. What really breaks a draw is a household that is more than half the group, such as a family of 3 in a group of 5.
To set it up: open the SantaSlips name draw, paste the names, open Who can't draw whom, and add one rule per couple with and … never draw each other. Every number below was counted with that tool.
How many draws are left when couples are kept apart
With no rules, the number of ways a group can draw names so that nobody gets themselves is the number of derangements of the group: 9 for 4 people, 265 for 6, 14,833 for 8 (OEIS A000166). Each couple rule removes every draw in which one partner has the other. The table shows what is left. "Single loop" means one circle through everyone, the draw style that lets you open gifts in turn.
| People | Couples | Any fair draw | Share left | Single loop |
|---|---|---|---|---|
| 3 | 1 | 0 draws | 0% | 0 loops |
| 4 | 1 | 4 draws | 44% | 2 loops |
| 4 | 2 | 4 draws | 44% | 2 loops |
| 5 | 2 | 16 draws | 36% | 8 loops |
| 6 | 3 | 80 draws | 30% | 32 loops |
| 7 | 3 | 672 draws | 36% | 240 loops |
| 8 | 4 | 4,752 draws | 32% | 1,488 loops |
| 10 | 5 | 440,192 draws | 33% | 112,512 loops |
Two things stand out. The only empty row is 3 people with one couple. And once everyone is paired up, roughly a third of the draws survive at every size, which is still plenty of mystery from 6 people up. At 4 people it is thin: with two couples, Anna's Santa is always Cara or Dev, so she has a 50:50 guess.
Why couples alone never make the draw impossible
You do not need the table to trust this. Seat everyone around a table with partners next to each other. Now have each person buy for whoever sits two seats to their left. Your partner sits one seat away, so you never land on them, and with 4 or more people two seats along is never you. That one seating plan is a valid draw for any group of 4 or more, whatever mix of couples and single people it has. A random draw has far more options than that, but the seating plan proves at least one always exists.
With 3 people the trick fails, because two seats to the left of Anna is Anna's partner again. That is the only case where couples alone break the draw, and SantaSlips says so in plain words:
Anna can only draw Cara. Ben can only draw Cara. That is 2 people sharing 1 possible person (Cara), and each person can be drawn only once.
What actually breaks a draw: households bigger than half the group
Couples are the easy case. The trouble starts when you block a whole household, such as two parents and a grown-up child who all live together and swap gifts at home anyway. Everyone in that household now has to draw someone outside it, and the rule is simple: a household of size h needs at least h people outside it to draw. In other words, no blocked household can be more than half the group.
This is a plain-language version of Hall's marriage theorem from 1935 (P. Hall, On Representatives of Subsets, Journal of the London Mathematical Society; summary on Wikipedia): a draw exists exactly when every group of people, taken together, is allowed to draw at least as many different people as there are in that group. SantaSlips checks that condition and, when it fails, names the smallest group that breaks it.
Worked examples
- A family of 3 in a group of 5. Mum, Dad and Sam never draw each other; Ana and Ben are the outsiders. The tool reports: "Mum can only draw Ana and Ben. Dad can only draw Ana and Ben. Sam can only draw Ana and Ben. That is 3 people sharing 2 possible people (Ana and Ben)." It then lists the three household rules and says dropping any one of them makes the draw possible.
- The same family of 3 in a group of 6. Now there are 3 outsiders, and there are 36 possible draws. Note the side effect: all three outsiders must draw a family member too, so everyone knows their Santa comes from the other side.
- Two households of 3. Also 36 draws, with the same effect: every gift crosses between the two households.
- A household of 4 and a couple, 6 people. Impossible. Four people would have to share the 2 people outside their household.
If you hit one of these, block only the couple inside the household rather than everyone in it, or bring in more people. The error message lists the rules whose removal would make the draw possible, so you can see which one to drop.
One way or both ways?
The tool offers two kinds of rule. Anna and Ben never draw each other blocks both directions, which is what you want for a couple. Anna never draws Ben blocks one direction only. That is the right choice for last year's pairs: if Anna bought for Ben last year, there is no reason Ben cannot buy for Anna this year.
Blocking all of last year's pairs one way still leaves a reasonable choice from 5 people up:
| People | Draws with no rules | Draws without last year's pairs |
|---|---|---|
| 3 | 2 draws | 1 draw |
| 4 | 9 draws | 2 draws |
| 5 | 44 draws | 13 draws |
| 6 | 265 draws | 80 draws |
| 8 | 14,833 draws | 4,738 draws |
With 3 people, blocking last year's loop leaves exactly one draw: last year's loop run backwards. The tool warns when only one draw is possible, because then anyone who knows the rules can work out every pair.
Setting it up, step by step
- Paste the names into the name draw, one per line. First names are enough; give two Sams an initial.
- Open Who can't draw whom and choose Add a rule. Pick the first partner, leave and … never draw each other, pick the second partner. Repeat for each couple.
- Add last year's pairs with never draws, giver on the left.
- Choose Any fair draw or One single loop, then Draw names. Under the result the page tells you how many draws your rules allowed, so you can see how much mystery is left.
- Send each person their own link. The organizer's screen lists links only, not who has whom.
If you want to run the numbers for a smaller group first, our guide to Secret Santa with 3 or 4 people works through what each person can deduce from their own slip.
Sources
- Number of draws with no rules (derangements): OEIS A000166. Single loops through n people, (n − 1)!: OEIS A000142.
- Condition for a draw to exist: P. Hall, "On Representatives of Subsets", Journal of the London Mathematical Society 10 (1935), 26–30; Hall's marriage theorem.
- Draws left after blocking last year's loop one way (3 people: 1, 4: 2, 5: 13, 6: 80, 8: 4,738): these are the ménage numbers, OEIS A000179.
- All counts with rules: counted exactly by the SantaSlips draw page for each case, and cross-checked by listing every possible draw for groups up to 8 people.