Puzzles
Advent 2017 logic puzzle
2017's Advent calendar ended with a logic puzzle: It's nearly Christmas and something terrible has happened: Santa and his two elves have been cursed! The curse has led Santa to forget which present three children—Alex, Ben and Carol—want and where they live.
The elves can still remember everything about Alex, Ben and Carol, but the curse is causing them to lie. One of the elves will lie on even numbered days and tell the truth on odd numbered days; the other elf will lie on odd numbered days and tell the truth on even numbered days. As is common in elf culture, each elf wears the same coloured clothes every day.
Each child lives in a different place and wants a different present. (But a present may be equal to a home.) The homes and presents are each represented by a number from 1 to 9.
Here are the clues:
21
White shirt says: "Yesterday's elf lied: Carol wants 4, 9 or 6."
White shirt says: "Yesterday's elf lied: Carol wants 4, 9 or 6."
10
Orange hat says: "249 is my favourite number."
Orange hat says: "249 is my favourite number."
5
Red shoes says: "Alex lives at 1, 9 or 6."
Red shoes says: "Alex lives at 1, 9 or 6."
16
Blue shoes says: "I'm the same elf as yesterday. Ben wants 5, 7 or 0."
Blue shoes says: "I'm the same elf as yesterday. Ben wants 5, 7 or 0."
23
Red shoes says: "Carol wants a factor of 120. I am yesterday's elf."
Red shoes says: "Carol wants a factor of 120. I am yesterday's elf."
4
Blue shoes says: "495 is my favourite number."
Blue shoes says: "495 is my favourite number."
15
Blue shoes says: "Carol lives at 9, 6 or 8."
Blue shoes says: "Carol lives at 9, 6 or 8."
22
Purple trousers says: "Carol wants a factor of 294."
Purple trousers says: "Carol wants a factor of 294."
11
White shirt says: "497 is my favourite number."
White shirt says: "497 is my favourite number."
6
Pink shirt says: "Ben does not live at the last digit of 106."
Pink shirt says: "Ben does not live at the last digit of 106."
9
Blue shoes says: "Ben lives at 5, 1 or 2."
Blue shoes says: "Ben lives at 5, 1 or 2."
20
Orange hat says: "Carol wants the first digit of 233."
Orange hat says: "Carol wants the first digit of 233."
1
Red shoes says: "Alex wants 1, 2 or 3."
Red shoes says: "Alex wants 1, 2 or 3."
24
Green hat says: "The product of the six final presents and homes is 960."
Green hat says: "The product of the six final presents and homes is 960."
17
Grey trousers says: "Alex wants the first digit of 194."
Grey trousers says: "Alex wants the first digit of 194."
14
Pink shirt says: "One child lives at the first digit of 819."
Pink shirt says: "One child lives at the first digit of 819."
3
White shirt says: "Alex lives at 2, 1 or 6."
White shirt says: "Alex lives at 2, 1 or 6."
18
Green hat says: "Ben wants 1, 5 or 4."
Green hat says: "Ben wants 1, 5 or 4."
7
Green hat says: "Ben lives at 3, 4 or 3."
Green hat says: "Ben lives at 3, 4 or 3."
12
Grey trousers says: "Alex lives at 3, 1 or 5."
Grey trousers says: "Alex lives at 3, 1 or 5."
19
Purple trousers says: "Carol lives at 2, 6 or 8."
Purple trousers says: "Carol lives at 2, 6 or 8."
8
Red shoes says: "The digits of 529 are the toys the children want."
Red shoes says: "The digits of 529 are the toys the children want."
13
Green hat says: "One child lives at the first digit of 755."
Green hat says: "One child lives at the first digit of 755."
2
Red shoes says: "Alex wants 1, 4 or 2."
Red shoes says: "Alex wants 1, 4 or 2."
23 December
In the song The Twelve Days of Christmas, how many presents have been given after 8 days?
What's the star?
In the Christmas tree below, the rectangle, baubles, and the star at the top each contain a number. The square baubles contain square numbers; the triangle baubles contain triangle numbers; and the cube bauble contains a cube number.
The numbers in the rectangles (and the star) are equal to the sum of the numbers below them. For example, if the following numbers are filled in:
then you can deduce the following:
What is the number in the star at the top of this tree?
You can download a printable pdf of this puzzle here.
Advent 2016 murder mystery
2016's Advent calendar ended with a murder mystery, with each of
the murderer, motive, weapon and location being a digit from 1 to 9.
Here are the clues:
10
None of the digits of 171 is the location.
None of the digits of 171 is the location.
3
None of the digits of 798 is the motive.
None of the digits of 798 is the motive.
7
One of the digits of 691 is the location.
One of the digits of 691 is the location.
16
None of the digits of 543 is the location.
None of the digits of 543 is the location.
5
One of the digits of 414 is the murderer.
One of the digits of 414 is the murderer.
20
The first digit of 287 is the number of false red clues.
The first digit of 287 is the number of false red clues.
8
Clues on days that are factors of 768 are all true.
Clues on days that are factors of 768 are all true.
22
The murderer is the square root of one of the digits of 191.
The murderer is the square root of one of the digits of 191.
11
One of the digits of 811 is the weapon.
One of the digits of 811 is the weapon.
19
The highest common factor of the weapon and 128 is 1.
The highest common factor of the weapon and 128 is 1.
13
None of the digits of 512 is the murderer.
None of the digits of 512 is the murderer.
18
One of the digits of 799 is the motive.
One of the digits of 799 is the motive.
17
None of the digits of 179 is the motive.
None of the digits of 179 is the motive.
6
None of the digits of 819 is the location.
None of the digits of 819 is the location.
24
One of the digits of 319 is total number of false clues.
One of the digits of 319 is total number of false clues.
23
One of the digits of 771 is the murderer.
One of the digits of 771 is the murderer.
2
The weapon is not one of the digits of 435.
The weapon is not one of the digits of 435.
14
The final digit of 415 is the number of true blue clues.
The final digit of 415 is the number of true blue clues.
4
The weapon is a factor of 140.
The weapon is a factor of 140.
12
The number of false clues before today is the first digit of 419.
The number of false clues before today is the first digit of 419.
9
One of the digits of 447 is the motive.
One of the digits of 447 is the motive.
1
None of the digits of 563 is the motive.
None of the digits of 563 is the motive.
21
One of the digits of 816 is the murderer.
One of the digits of 816 is the murderer.
15
One of the digits of 387 is the motive.
One of the digits of 387 is the motive.
Santa
Each of the letters D, A, Y, S, N, T, B, R and E represents a different non-zero digit. The following sum is true:
$$
\begin{array}{cccccc}
D&A&D&D&Y\\
B&E&A&R&D&+\\
\hline
S&A&N&T&A
\end{array}
$$
This has a unique solution, but I haven't found a way to find the solution without brute force. This less insightful sum is also true with the same values of the letters (and should allow you to find the values of the letters using logic alone):
$$
\begin{array}{ccccc}
R&A&T&S\\
N&E&R&D&+\\
\hline
S&A&N&E
\end{array}
$$