# PSE Advent Calendar 2023 (Day 8): A Quilt for Santa

This puzzle is part of the Puzzling Stack Exchange Advent Calendar 2023. The accepted answer to this question will be awarded a bounty worth 50 reputation.

< Previous Door Next Door >

Mrs. Claus needs help with a gift for Santa. Every year, Santa complains that his legs get too cold when he flies around on Christmas Eve. This year, Mrs. Claus would like to make him a quilt to keep his legs warm. She wants to incorporate the names of all of his reindeer in the quilt's design using an interesting pattern that connects them all.

The quilt is a rectangle made up of individual square cells. Each of these cells can contain at most one letter. Mrs. Claus came up with a rough draft but the resulting quilt would be too big and add too much weight to the sleigh:

The quilt above satisfies all of the following properties:

• Contains all 9 reindeer names connected to each other.
• Each reindeer name appears either horizontally left-to-right or vertically top-to-bottom.
• Any two letters that appear in horizontally or vertically adjacent cells belong to a common reindeer name.
• Two horizontal reindeer names can't overlap and two vertical reindeer names can't overlap.

Can Mrs. Claus do better than the 17-by-10, 170-cell design she found? What's the smallest number of squares she can use to sew her rectangular quilt, given all the constraints above?

• Do the names have to be fully connected or can you have multiple non-touching crosswords? Commented Dec 8, 2023 at 13:45
• The names have to be fully connected Commented Dec 8, 2023 at 14:17

I've been able to do it in

7x13 = 91 Cells

You have to arrange the reindeers like this

I found it by generating and evaluating all possible arrangements. It feels like a really good solution, but I cant proof if this is optimal, there might be errors in my code.

• I confirmed optimality via integer linear programming. Commented Dec 9, 2023 at 1:14
• Great job, @Antikeks! You got it. And it happens to be the unique optimal solution (up to transposition). Commented Dec 9, 2023 at 2:04
• My computer agrees with yours :-) Commented Dec 9, 2023 at 15:15

The best I've been able to do has area

$$7 \times 14 = 98$$ cells

As follows

The idea here

is to try to make one of the dimensions small so expanding in the other direction does not cost too much. Frustratingly it looks like it could be made smaller if we move PRANCER to where VIXEN is and CUPID ending on the D in DASHER but then there is no good spot for VIXEN unless we disconnect it from the rest of the crossword.

• You can make it a 7x13 by moving VIXEN one down and left. So the E in VIXEN aligns with the E in BLITZEN Commented Dec 8, 2023 at 14:46
• Very nice, @hexomino! But unfortunately, Mrs. Claus can make one even smaller. Commented Dec 8, 2023 at 14:48
• @computer_goblin: that still leaves the "N" from BLITZEN hanging over the right edge, making it a 7x14 grid still Commented Dec 8, 2023 at 14:48

I think I can do

96 cells in a 6x16 grid

because there doesn't appear to be a rule preventing me from doing this:

or at least there wasn't at the time I posted this answer :(

• Hah! I did not intend to allow vertical-vertical or horizontal-horizontal overlaps in the name, but this is nice. I would begrudgingly call you the winner if this was the minimum size grid you could create, but fortunately for me there's an even smaller packing of the names that follows my intended rules. I'll clarify the rules to disallow horizontal-horizontal or vertical-vertical overlaps. Commented Dec 8, 2023 at 17:55
• yeah it definitely felt like it was against the spirit of the rules but at the same time I thought maybe this is the trick needed to solve the puzzle! back to the drawing board ig Commented Dec 8, 2023 at 18:07
• Another unwritten rule is that each reindeer must appear only once. Commented Dec 9, 2023 at 15:20
• I don't think either of these variants would actually help you even if they were allowed. I would be interested in seeing a solution that beats the winning entry that either does overlaps like @jucifer's or repeats reindeer. Doesn't seem like either will make the packing tighter. Commented Dec 9, 2023 at 17:33