How many matches do you need to build a cuboid containing 2020 cubes?
The side of each cube is one match.
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 you want to accept this solution, you have to test the formulas. Here is a picture, what can help:
Let's do some formulas:
First time we should search the whole part of the cube root of 2020, this is 12. Now 2 0 2 0 − 1 2 3 = 2 9 2 cubes left. We can place 2 times 1 2 ∗ 1 2 ∗ 1 cubes to the sides of the big cube. After that 2 9 2 − 2 ∗ 1 ∗ 1 2 ∗ 1 2 = 4 cubes left. But we can place this cubes next to the second 1 2 ∗ 1 2 ∗ 1 cube, because after the placing the first, the sides of the big cube are: 12, 12 and 13. Let's use the formulas:
The big cuboid: D 3 [ 1 2 , 1 2 , 1 3 ]
The 1 2 ∗ 1 2 square on this side: D 3 [ 1 2 , 1 2 ]
And the last 4 squares: D 3 [ 4 ]
The number of matches: D 3 [ 1 2 , 1 2 , 1 3 ] + D 3 [ 1 2 , 1 2 ] + D 3 [ 4 ] = 1 2 ( 1 2 + 1 ) ( 1 3 + 1 ) + 1 2 ( 1 2 + 1 ) ( 1 3 + 1 ) + 1 3 ( 1 2 + 1 ) ( 1 2 + 1 ) + D 3 [ 1 , 1 2 , 1 2 ] − D 2 [ 1 2 , 1 2 ] + 4 ∗ 3 + 2 = 6 5 6 5 + 1 ( 1 2 + 1 ) ( 1 2 + 1 ) + 1 2 ( 1 + 1 ) ( 1 2 + 1 ) + 1 2 ( 1 + 1 ) ( 1 2 + 1 ) − 1 2 ( 1 2 + 1 ) − 1 2 ( 1 2 + 1 ) + 1 4 = 6 5 7 9 + 4 8 1 = 7 0 6 0