Blog
2023-12-08
In November, I spent some time (with help from TD) designing this year's Chalkdust puzzle Christmas card.
The card looks boring at first glance, but contains 10 puzzles. By colouring in the answers to the puzzles on the front of the card in the colours given (each answer appears four time),
you will reveal a Christmas themed picture.
If you're in the UK and want some copies of the card to send to your maths-loving friends, you can order them at mscroggs.co.uk/cards.
If you want to try the card yourself, you can download this printable A4 pdf. Alternatively, you can find the puzzles below and type the answers in the boxes. The answers will automatically be found and coloured in...
Green | ||
1. | What is the largest value of \(n\) such that \((n!-1)/(n-1)\) is an integer? | Answer |
2. | What is the largest value of \(n\) such that \((n!-44)/(n-44)\) is an integer? | Answer |
Red/blue | ||
3. | Holly adds up the first 7 even numbers, then adds on half of the next even number. What total does she get? | Answer |
4. | Holly adds up the first \(n\) even numbers, then adds on half of the next even number. Her total was 9025. What is \(n\)? | Answer |
Brown | ||
5. | What is the area of the quadrilateral with the largest area that will fit inside a circle with area 20π? | Answer |
6. | What is the area of the dodecagon with the largest area that will fit inside a circle with area 20π? | Answer |
7. | How many 3-digit positive integers are there whose digits are all 1, 2, 3, 4, or 5 with exactly two digits that are ones? | Answer |
8. | Eve works out that there are 300 \(n\)-digit positive integers whose digits are all 1, 2, 3, 4, or 5 with exactly \(n-1\) digits that are ones. What is \(n\)? | Answer |
9. | What are the last two digits of \(7^3\)? | Answer |
10. | What are the last two digits of \(7^{9876543210}\)? | Answer |
(Click on one of these icons to react to this blog post)
You might also enjoy...
Comments
Comments in green were written by me. Comments in blue were not written by me.
My visual abilities fail me - managed to solve the puzzles but cannot see what the picture shows
Gantonian
@nochum: It can't, so the answer to that one probably isn't 88.
Matthew
how can a dodecagon with an area of 88 fit inside anything with an area of 62.83~?
nochum
Add a Comment
2023-09-02
This week, I've been at Talking Maths in Public (TMiP) in Newcastle. TMiP is a conference for anyone involved
in—or interested in getting involved in—any sort of maths outreach, enrichment, or public engagement activity. It was really good, and I highly recommend coming to TMiP 2025.
The Saturday morning at TMiP was filled with a choice of activities, including a puzzle hunt written by me: the Tyne trial.
At the start/end point of the Tyne trial, there was a locked box with a combination lock. In order to work out the combination for the lock, you needed to find some clues hidden around
Newcastle and solve a few puzzles.
Every team taking part was given a copy of these instructions.
Some people attended TMiP virtually, so I also made a version of the Tyne trial that included links to Google Street View and photos from which the necessary information could be obtained.
You can have a go at this at mscroggs.co.uk/tyne-trial/remote. For anyone who wants to try the puzzles without searching through virtual Newcastle,
the numbers that you needed to find are:
- Clue #1: \(a\) is 9.
- Clue #2: \(b\) is 5.
- Clue #3: \(c\) is 1838.
- Clue #4: \(d\) is 1931.
- Clue #5: \(e\) is 1619.
- Clue #6: \(f\) is 48.
- Clue #7: \(g\) is 1000.
The solutions to the puzzles and the final puzzle are below. If you want to try the puzzles for yourself, do that now before reading on.
Puzzle for clue #2: Palindromes
We are going to start with a number then repeat the following process: if the number you have is a palindrome, stop;
otherwise add the number to itself backwards.
For example, if we start with 219, then we do: $$219\xrightarrow{+912}1131\xrightarrow{+1311}2442.$$
If you start with the number \(10b+9\) (ie 59), what palindrome do you get?
(If you start with 196, it is unknown whether you will ever get a palindrome.)
Puzzle for clue #3: Mostly ones
There are 12 three-digit numbers whose digits are 1, 2, 3, 4, or 5 with exactly two digits that are ones.
How many \(c\)-digit (ie 1838-digit) numbers are there whose digits are 1, 2, 3, 4, or 5 with exactly \(c-1\) digits (ie 1837) that are ones?
Puzzle for clue #4: is it an integer?
The largest value of \(n\) such that \((n!-2)/(n-2)\) is an integer is 4. What is the largest value of \(n\) such that
\((n!-d)/(n-d)\) (ie \((n!-1931)/(n-1931)\)) is an integer?
Puzzle for clue #5: How many steps?
We are going to start with a number then repeat the following process:
if we've reached 0, stop; otherwise subtract the smallest prime factor of the current number.
For example, if we start with 9, then we do: $$9\xrightarrow{-3}6\xrightarrow{-2}4\xrightarrow{-2}2\xrightarrow{-2}0.$$ It took 4 steps to get to 0.
What is the smallest starting number such that this process will take \(e\) (ie 1619) steps?
Puzzle for clue #6: Four-digit number
I thought of a four digit number. I removed a
digit to make a three digit number, then added my two numbers together.
The result is \(200f+127\) (ie 9727). What was my original number?
Puzzle for clue #7: Dice
If you roll two six-sided fair dice, the most likely total is 7. What is the most likely total if you rolled \(1470+g\) (ie 2470) dice?
The final puzzle
The final puzzle involves using the answers to the five puzzles to find the four digit code that
opens the box (and the physical locked box that was in the library on
Saturday. To give hints to this code, each clue was given a "score".
The score of a number is the number of values of \(i\) such that the \(i\)th digit
of the code is a factor of the \(i\)th digit of the number.
For example, if the code was 1234, then the score of the number 3654 would be 3 (because
1 is a factor of 3; 2 is a factor of 6; and 4 is a factor of 4).
The seven clues to the final code are:
- Clue #1: 6561 scores 2 points.
- Clue #2: 1111 scores 0 points.
- Clue #3: 7352 scores 1 points.
- Clue #4: 3562 scores 1 points.
- Clue #5: 3238 scores 1 points.
- Clue #6: 8843 scores 1 points.
- Clue #7: 8645 scores 3 points.
(Click on one of these icons to react to this blog post)
You might also enjoy...
Comments
Comments in green were written by me. Comments in blue were not written by me.
Add a Comment
Image: Chalkdust Magazine
Chalkdust issue 17
2023-05-22
For the past couple of months, I've once again been spending an awful lot of my spare time working
on Chalkdust. Today you can see the result of all this hard work: Chalkdust issue 17.
I recommend checking out the entire magazine: you can read it online
or order a physical copy.
My most popular contribution to the magazine is probably the crossnumber.
I enjoyed writing this one; hope you enjoy solving it.
I also spent some time making this for the back page of the magazine. It's probably the most
fun I've had making something stupid for Chalkdust for ages.
Chalkdust Magazine
(Click on one of these icons to react to this blog post)
You might also enjoy...
Comments
Comments in green were written by me. Comments in blue were not written by me.
Add a Comment
2022-12-04
In November, I spent some time (with help from TD) designing this year's Chalkdust puzzle Christmas card.
The card looks boring at first glance, but contains 11 puzzles. By colouring in the answers to the puzzles on the front of the card in black (each answer appears twice), then colouring remaining squares
containing 0s red, and regions containing a star brown,
you will reveal a Christmas themed picture.
If you want to try the card yourself, you can download this printable A4 pdf. Alternatively, you can find the puzzles below and type the answers in the boxes. The answers will automatically be found and coloured in black, and appropriate squares and regions will be coloured red and brown...
The puzzles | ||
1. | What is the only prime number that is both two more than a prime number and two less than a prime number? | Answer |
2. | Holly adds up the first 7 odd numbers. What total does she get? | Answer |
3. | Holly next adds up the first \(n\) odd numbers to get a total of 1089. What is \(n\)? | Answer |
4. | Ivy starts with 0 then adds or subtracts some multiples of 4 or 7. What is the smallest positive integer that she could have ended with? | Answer |
5. | Ivy again starts with 0, but this time she adds or subtracts some multiples of 240 or 400. What is the smallest positive integer that she could have ended with? | Answer |
6. | How many 4-digit integers are there whose digits are all non-zero and whose digits add up to 7? | Answer |
7. | How many positive integers are there whose digits are all non-zero and whose digits add up to 7? | Answer |
8. | Eve wrote down a four-digit number. Eve then removed one of the digits of her number to make a three-digit number. The sum of her two numbers is 3119. What was her four-digit number? | Answer |
9. | Eve wrote down a five-digit number. Eve then removed one of the digits of her number to make a four-digit number. The sum of her two numbers is 96158. What is the largest number that her five-digit number could have been? | Answer |
10. | Noel drew 12 points on the circumference of a circle, then drew a straight line connecting every pair of points. How many lines did he draw? | Answer |
11. | Noel drew some points on the circumference of a circle, then drew a straight line connecting every pair of points. He drew 2926 lines. How many points did he draw? | Answer |
(Click on one of these icons to react to this blog post)
You might also enjoy...
Comments
Comments in green were written by me. Comments in blue were not written by me.
Great fun thanks. At first they seem impossible but then a way through appears! How do I get the answers / check if I’m right?
Graeme Johnston
Add a Comment
2022-02-26
Surprisingly often, people ask me how they can build their own copy of MENACE. If you've been thinking that you'd love your own matchbox-powered machine learning computer but haven't got round to asking me about it yet, then this blog post is just what you're looking for.
Matchboxes
Before building MENACE, you'll need to get hold of 304 matchboxes (plus a few spares in case one gets lost or falls apart). I used these craft matchboxes: they don't have the best build quality, but they're good enough.
304 positions
The positions you need to glue onto the front of the matchboxes can be downloaded from this GitHub repository (first move boxes, third move boxes, fifth move boxes, seventh move boxes). These are sized to fit on matchboxes that have 15mm by 35mm fronts.
I printed each pdf on differently coloured paper to make it easier to sort the matchboxes after getting them out of their box.
If you get differently sized matchboxes, the code used the generate the PDFs is in the same GitHub repository (you'll need to modify these lines). Alternatively, feel free to drop me an email and I will happily adjust the sizes for you and send you the updated PDFs.
Glue
I used PVA glue to stick the positions onto the matchboxes. The printable PDFs have extra tabs of paper above and below the postions that can be glued in to the bottom and inside of the matchbox tray to hold it more securely.
Gluing the positions onto the matchboxes was the most time consuming part of building my copy of MENACE, largely due to having to wait for the glue to dry on a set of matchboxes before I had space for the next batch of them to dry.
Beads
Once you've glued pictures of noughts and crosses positions to 304 matchboxes, you'll need to put coloured beads into each matchbox. For this, I used a large tub of Hama beads (that tub contained orders of magnitude more beads than I needed).
A nice side effect of using Hama beads is that they're designed to be ironed together so making a key to show which colour corresponds to each position is very easy.
I typically start the boxes off with 8 beads of each colour in the first move box, 4 of each colour in the third move boxes, 2 of each in the fifth move boxes, and one of each in the seventh move boxes.
Once you've filled all your matchboxes with the correct number of beads, you're ready to play yout first game against MENACE. I'd love to hear how you get on.
And once you're bored of playing noughts and crosses against your matchboxes, why not build a machine that learns to play Hexapawn, Connect 4, Chess or Go? Or one that plays Nim?
Edit: Added link to the printable pdfs of the positions needed for Hexapawn, made by Dan Whitman.
(Click on one of these icons to react to this blog post)
You might also enjoy...
Comments
Comments in green were written by me. Comments in blue were not written by me.
Interesting.
Could try a same kind of thing using playing card deck(s)? A(=1)-2-3 4-5-6 7-8-9 maybe 3 decks with different colours on their backs.
Could try a same kind of thing using playing card deck(s)? A(=1)-2-3 4-5-6 7-8-9 maybe 3 decks with different colours on their backs.
Willem
I also read the Martin Gardner article way back when and had two matchbox machines (actually with envelopes instead of matchboxes) play Nim against each other. I don't remember all the details now, except that it got to the point where one would make the first move and the other would immediately resign.
Tim Lewis
I made a matchbox machine that learns to play 3x3 Nim almost 50 years ago. I still have it. (Based on Martin Gardner's article)
Tony
Add a Comment
Looking at the JavaScript code, I found that any value that is a key in the array "regions" is treated as correct for all puzzles.