The image below is made up of 57 matchsticks:
Define a
move
to be removing 3 matchsticks in any of the following shapes:
What is the largest number of successive moves that can be made?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If n = 1 1 , we get 1 1 + 1 2 − ⌊ 2 1 1 ⌋ = 1 1 + 1 2 − 5 = 1 8 > 1 7 . However, ⌊ 2 2 4 − n ⌋ = 1 2 − ⌈ 2 n ⌉ and 1 1 + 1 2 − ⌈ 2 1 1 ⌉ = 2 3 − 6 = 1 7 .
Exactly what I did
good job thanks 4 hlp
I would argue that this should be in the "Intermediate" section instead, because it can be successfully done without a proof in a "reasonable amount of time" by brute force.
It is possible to make 17 moves , leaving only 5 7 − 1 7 × 3 = 6 matchsticks.
In the top row, remove ⊂ -shapes from left to right. This takes 11 moves and leaves only one vertical matchstick at the end.
In the bottom row, remove ∪ -shapes from left to right. Between each two moves, a single horizontal matchstick at the bottom must be skipped. It takes 6 moves and leaves five matchsticks at the bottom.
More than 17 moves is impossible.
Define
a = number of ⊂ -shaped moves (or mirror image);
b = number of ∪ -shaped moves in the bottom row and ∩ -shaped moves in the top row.
c = number of ∪ -shaped moves in the top row and ∩ -shaped moves in the bottom row.
There are three lines of 11 horizontal matchsticks and two rows of 12 vertical matchsticks.
Effect of moves on the middle line of horizontal matchsticks: a + c = M ≤ 1 1 .
Effect of moves on the top and bottom lines of horizontal matchsticks: a + b = N ≤ 2 2 .
Effect of moves on the vertical matchsticks: a + 2 b + 2 c = V ≤ 2 4 .
Solve this system, so we can analyze the number of moves ( a , b , c ) in terms of matchsticks ( M , N , V ) : ⎣ ⎡ 1 1 1 0 1 2 1 0 2 ⎦ ⎤ ⎣ ⎡ a b c ⎦ ⎤ = ⎣ ⎡ M N V ⎦ ⎤ ∴ ⎣ ⎡ a b c ⎦ ⎤ = 3 1 ⎣ ⎡ 2 − 2 1 2 1 − 2 − 1 1 1 ⎦ ⎤ ⎣ ⎡ M N V ⎦ ⎤ .
Now let m = 1 1 − M , n = 2 2 − N , v = 2 4 − V represent the matchsticks that remain. We have ⎣ ⎡ a b c ⎦ ⎤ = 3 1 ⎣ ⎡ 2 − 2 1 2 1 − 2 − 1 1 1 ⎦ ⎤ ⎣ ⎡ 1 1 − m 2 2 − n 2 4 − v ⎦ ⎤ = ⎣ ⎡ 1 4 8 − 3 ⎦ ⎤ − 3 1 ⎣ ⎡ 2 − 2 1 2 1 − 2 − 1 1 1 ⎦ ⎤ ⎣ ⎡ m n v ⎦ ⎤ .
Note that c = − 3 − … : however, c cannot be negative. This means that 3 1 ( m − 2 n + v ) ≤ − 3 ∴ 2 n − m − v ≥ 9 . We wish to minimize n , m , v ≥ 0 ; clearly, this requires n = 5 and either m = 1 or v = 1 .
Thus we have shown that we end up with at least 5 horizontal matchsticks in top or bottom line; there cannot be more than 17 moves.
To finish up, choosing n = 5 and v = 1 , we get ⎣ ⎡ a b c ⎦ ⎤ = 3 1 ⎣ ⎡ 2 − 2 1 2 1 − 2 − 1 1 1 ⎦ ⎤ ⎣ ⎡ 1 1 1 7 2 3 ⎦ ⎤ = ⎣ ⎡ 1 1 6 0 ⎦ ⎤ . This is the situation I described at the top of my solution.
Alternatively, with n = 5 and m = 1 , ⎣ ⎡ a b c ⎦ ⎤ = 3 1 ⎣ ⎡ 2 − 2 1 2 1 − 2 − 1 1 1 ⎦ ⎤ ⎣ ⎡ 1 0 1 7 2 4 ⎦ ⎤ = ⎣ ⎡ 1 0 7 0 ⎦ ⎤ . Challenge: Can someone describe the solution corresponding to these values?
Great solution. It was very helpful to separate the horizontal sticks into two sets: the middle row (11) and the top/bottom rows (22). That made the logic much clearer to me.
Note: 2n - m - v >= 9 is an inequality, so we don't necessarily have to hit 9 exactly to get a minimum value of remaining matchsticks (n + m + v). But we do have to make sure the number of remaining matchsticks is a multiple of 3. That means a third minimal option is n=6, m=0, v=0. This corresponds to a=10, b=6, c=1 for the types of moves. (I think any solution with a=10, b=7, c=0 can pretty easily be converted to a solution with a=10, b=6, c=1.)
Log in to reply
Great observation! Note that an integer solution ( a , b , c ) of the system of inequalities does not guarantee that it can actually be done: my method does not account for geometric relationships apart from horizontal/vertical and middle/outside rows.
Log in to reply
True. Your solution for {a=11, b=6, c=0} can be tweaked to show that {a=10, b=7, c=0} and {a=10, b=6, c=1} are also doable. Start with 11 C-shapes on the top row and 6 U-shapes on the bottom row. The final C-shape (next to the remaining vertical matchstick) is free to be rotated into any orientation: either a U-shape or an upside-down-U-shape.
There are 11 horizontal matches that are "in the middle" (i.e. are not at the bottom or top) and there are 24 vertical matches. So those two groups have a combined total of 35 matches, out of which at least 2 must be removed by each move, which proves that there cannot be more than 17 moves.
My method for making 17 moves was similar to Marco Brezzi's.
sir if a I perform a move in which I remove all the top and bottom matches (complete first and last row) , it would ve a possible move with n=22
I mean contradict it.
Problem Loading...
Note Loading...
Set Loading...
Consider the vertical matches, there are 2 4 of them. Every move removes 1 ( type 1 move ) or 2 ( type 2 move ) vertical matches. So the upper bound of consecutive moves is 2 4 . However any time we perform a type 1 move, we must remove one of the matches from the middle horizontal line. Since there are only 1 1 matches in the middle line, we can perform at most 1 1 type 1 moves.
Suppose you perform n ≤ 1 1 type 1 moves, then you are left with 2 4 − n vertical matches that you can use to perform (at most)
⌊ 2 2 4 − n ⌋ = 1 2 − ⌈ 2 n ⌉
type 2 moves, with a total of
n + 1 2 − ⌈ 2 n ⌉
moves, which doesn't get bigger than 1 7
A possible sequence of 1 7 moves: