Showing posts with label polycubes. Show all posts
Showing posts with label polycubes. Show all posts

Monday, January 20, 2025

3x3x3 Dissection Puzzles - The Ultimate Guide

It's been too long since I posted on here. I was reading the blog over at Puzzle Mad, and noticed that the posts there are weekly, every week like clockwork. And they're decent length posts as well. And while that blog's wider scope means there's probably a lot more to talk about, it still kind of shamed me into putting something on here to make this blog a little less abandoned-looking.

(Also a reminder, I have a site at https://polyominoes.co.uk/ which while for now it looks similarly abandoned as here, will eventually hopefully be the main place for updates just because I like how much tidier I can make things with HTML. Tidier and very very dated...)

The Puzzles

I haven't really done much with any standard polyomino/iamond sets the way I used to - university took up a lot of time and makes me feel guilty using what little free time I have for fun things...) but my foray into polycubes in 2024 led me down a little rabbit hole of cubic dissection puzzles. That is, puzzles where the pieces are a selection of polycubes and the goal is to assemble them into a cube, generally a 3x3x3 or 4x4x4 one. The sets of pieces are generally not mathematically complete sets in any way, with any one unifying property, more they're just picked to give the solution process of the puzzle certain features.

Soma Cube

The classic. 


The original 3x3x3 cubic dissection puzzle (I think), designed way back in 1933 by Piet Hein. I've had several of these at various points, including one I made myself in a high school woodworking lesson that needed constant regluing because of how clumsily I initially made it. This one's a proper shop bought tidy wood one though.

Solving the pieces into a 3x3x3 cube is fairly straightforward (a little trial and error but not too much), but the real fun for the Soma cube is the fact the pieces are small and simple enough to facilitate construction of other shapes too. They're kind of like tetracubes in that regard. There's probably another blog post there actually. Maybe. Soma pieces are simple enough and few enough in number that full enumeration of the solutions for a given shape is possible, rather like the tetrominoes. It's an avenue I'm tempted to look into.

Overall rating: 4/5

Stewart Coffin's Serially Interlocking Cube

I've already talked about this one at length here, but I thought I'd mention it again, a.) for completeness, and b.) because it's such a good puzzle.

It's only four pieces, but they're shaped in such a way that they can only be assembled into the cube in a certain order, and the cube can only be disassembled in one way too. Each piece sort of holds the others in place meaning the solved cube can be picked up and generally chucked around without coming apart. Hence, 'interlocking' I suppose. It makes a good challenge figuring this out the first time, but subsequent solves you end up sort of remembering how it goes and the challenge wears off pretty quickly. The biggest hint is knowing that the finished cube needs 8 corner cubes, and that each of the pieces can supply a maximum of 1, 1, 3 and 3 corners respectively. And that narrows things down a little bit.

Overall rating: 4.5/5 (These ratings are calculated by the rigorous scientific process of pulling a number out of thin air and seeing if it kinda sort of feels right.)

Mikusiński's Cube

As well as the above design, there are several other puzzles of this sort in Stewart Coffin's book, 'The Puzzling World of Polyhedral Dissections'. Rather than make the lot out of wood (it's slow gluing them together, and with the cheap wood cubes I buy they're never a 100% fit even after copious sanding) I looked for other ways of constructing them. And hit upon these. It was a bag of like 1000 little 1cm² cubes probably designed as classroom teaching materials, but I found that by clicking them together then using nail clippers to bite off the extra remaining nub I was able to make solid enough prototype pieces. Yeah, if you exert a lot of force on them they'll come apart, and the little scar left where the nub was removed doesn't look too tidy, but for general experimentation into the world of polycube puzzles they do the job. Quick n' dirty. And if I get bored of a puzzle I can just take the pieces apart and build a different one.

Mikusiński's Cube is made up of five pieces, three pentacubes and two tetracubes. It's also maddeningly difficult - easy enough to assemble something that's one mispositioned cube away from completion but hitting upon one of the two actual solutions took me a couple of weeks, off and on. Mainly off, to be honest. But still, a good couple of hours were spent swearing at this one in pure frustration. To the point I was seriously doubting there was a solution, and that I may have just assembled one of the pieces incorrectly or the illustration in Coffin's book could have been wrong. It wasn't though, it was just a tough puzzle. The individual pieces are shown below, so as not to give away the solution to anyone who fancies making their own copy. Because with puzzles like these, once you know the solution it sticks in your memory fairly well and lowers the replay appeal somewhat.

The black piece is a mirror image of the white piece, by the way. The photo isn't great quality so it might not be clear.

Overall rating: 5/5

'Five-Piece Solid Block'

Another design by Stewart Coffin. This started life as a prototype made out of the above plastic cubes, but it's such a fun puzzle I went ahead and made a bigger more permanent wooden version. Five pieces, all of them asymmetric and wiggly. Again, finding the solution is tricky the first couple of times, but then you start to remember what goes where, and associate different pieces with the ones they interlock with...

Overall rating: 4.5/5

'Diabolical Cube'

Honestly, this one's anything but diabolical. Its main selling point is that the pieces are of sizes 2,3,4,5,6 and 7 cubes, but in terms of solving it it's not particularly satisfying a challenge. I made a version of this from the lazy plastic prototype pieces but didn't feel it was worth the wood making a proper copy.

Overall rating: 2/5

'Wooden 3D Puzzle Cube'

This is just 9 identical copies of the V-shaped tricube. Solving it is insultingly easy, but the pieces are all painted pretty colours, it comes in a nice metal box and it cost me like £1.99 from Aldi, so I can't complain too much.

Overall rating: 3/5

This random blue plastic one I own

I got this in the gift shop of some museum (I think it was the optical illusion place in Keswick, Cumbria) or other when I was like 7 or 8, along with a similar red one with different pieces which I've since lost. There's not really any rhyme or reason to the pieces, but their chirality does kind of throw you off when solving so it's never as straightforward as I imagine it'll be. Still not difficult difficult though, like there's a guaranteed solve after a few minutes playing around.

(If I recall correctly, the red one was a lot harder, but that could just have been because the last time I owned the complete thing with no missing bits I was 11 and not quite as good at puzzles.)

Overall rating: 2.5/5.

EDIT: I did some looking around and I think these are two from the 'Impuzzables' series, designed by Gerard D'Arcey and mentioned in Martin Gardner's 'Knotted Doughnuts and Other Mathematical Entertainments'.

- - -

Conclusion

If you think about how many ways its possible to break a 3x3x3 cube into two or more pieces, its clear that these half-dozen specimens are only scratching the surface of the world of polycube dissection puzzles. A few seconds of internet searching will find you tons more, I'm sure, and I have been on occasion attempting to come up with my own designs. but they all just end up being a bunch of random wiggly tetra- and pentacubes that happen to make a cube in an unknown number of ways. There's never been that satisfying feeling that there's something interesting or deliberate about the set thus far. Nothing that has a peculiarity about the solution like the serially interlocking pieces, or a pleasing completeness to the set of pieces themselves. But that's the joy of those plastic cubes, isn't it? The ability to rip the pieces up and try again.

Tune in next time, and I'll dig out all the 4x4x4 dissection puzzles I own and bitch about those.

Sunday, February 11, 2024

Pentacubes (Planar ones mostly)

 A while ago when I made my set of tetracubes I mentioned the possibility of making the next set up, the pentacubes, if I ever felt in the mood for a lot of gluing and sanding. Well at some point between then and now (probably last year when I wasn't really doing a lot of blog post or website writing) I was obviously up for it because now I have a set of pentacubes to call my own. Very rough ones, admittedly - I glued but didn't bother to sand - but they work and can be fitted together without issue so they'll do.

The plan was (and still is, I suppose) to colour the edges of each piece just like I did for the unit cubes so the boundaries are a bit more distinct. But to do that I'd need to sand them, and to sand them I'd need to bring them to somewhere without a bit of outside space. So it's not happened yet.

The total volume of the pentacubes is 5x29 = 145 which clearly can't be factorised into three numbers greater than 1 to be the length, width and girth of a solid cuboid. The closest thing I could immediately find was adding two monocubes (or, you know, cubes) to the set to bump up the volume to 147 which can be factored as 3x7x7. And it turns out that packing them into this shape (as in the above picture) is a fun and satisfying challenge. And it can be made more challenging by specifying the position of the unit cubes before hand to yield a symmetrical configuration.

Schematic for a symmetrical solution to the 3x7x7. A square indicates the piece extends up into the layer above, and a dot indicates it extends down into the layer below.
Isometric diagram of the above solution.

Planar Pentacubes

These are the twelve pentacubes whose cubes all lie in the same plane - essentially, just chunky pentominoes. As well as solving into cuboids of sizes 1x6x10, 1x5x12 etc., these can also be solved into 2x3x10, 2x5x6 and 3x4x5 cuboids. And these, from my experience, are way harder than the polyomino rectangle counterparts. There are apparently 3,940 solutions to the 3x4x5 but you wouldn't think it trying to find one manually. I had tried on and off for several months and never really even got that close until a few nights ago when I found the below solution.

The 2x3x10 cuboid is even more of a nightmare, and it's mainly because of the I-pentomino (or rather, I-pentacube). Wherever you stick it it creates a narrow little space that seems to severely limit the pieces it can accommodate. I managed to stumbled across one of the 12 solutions, and it took several hours I'll never get back.

The 2x5x6 cuboid is interesting. It has 264 solutions, of which one is special in that none of the pieces extend into both 'layers' of the shape. Meaning that it's essentially the pentominoes solved into two congruent 5x6 rectangles then stacked up on top of each other. Like this:

I've noticed the shading on these images seems to subconsciously reflect where I am relative to the light source in the room. Here in the day time I have a window to my right, so I drew the surfaces facing it the lightest, but when I drew these ones a while back I must have been working at night with artificial light.

Another configuration possible with the planar pentacubes is the following sort of 'ring' shape. This can be made trivially in a few ways by adapting the solutions to the 3x20 pentomino rectangle, effectively folding it around on itself and bringing the ends together.

The ring shape. That 1x7 void in the top goes right through and out the bottom.
A better diagram of the assembly.

There's clearly a lot of possibilities with this set and with the full set of pentacubes that I've only just started to dip a toe into here. So I imagine there'll probably be further posts on here as I keep playing about and maybe gaining a little bit of competence with them. Right now it feels very trial and error.

In the mean time, check out David Goodger's page which has a way more in-depth exploration of what these sets can do.

Sunday, October 24, 2021

Tetracubes, revisited

A while ago I wrote a post exploring polycubes up to and including the tetracubes. And I didn't really go too far in depth with it. I found a few things with the tetracubes then just kind of stuffed them in a cupboard and forgot about them. But recently I dug them out and all it took to rekindle my interest with them was a few minutes scribbling on them in felt tip pen so that the individual pieces could be told apart in a construction. Behold:

It's messy and it looks like a six year old did it, but it's a slight improvement on how they looked before. From a solving point of view anyway.

After doing this I decided I needed to solve a few things to test out how they looked. And this quickly showed me that there was a lot more overlooked potential in this set of shapes than I ever realised.

Scaled-up tetracubes

The total volume of the tetracubes is 32 units, which is just enough to construct a big tetracube scaled up by a factor of two. For four of the five planar tetracubes and two of the non-planar ones this is trivial once we've got the two 2x2x4 blocks above solved, just put them together in whichever configuration. For the two remaining tetracubes - the T-tetromino and the cyan one bottom left in this image - it's a little more tricky.

For the diagram on the right, a dot indicates that that piece extends into the layer below there, and a square indicates that it extends into the layer above.

The solution for the T-tetromino is shown above, but the final tetracube is a challenge for the reader. It's possible, but I can't be bothered to draw out another diagram for it so you'll have to find it yourself.

Almost-cuboids

There are also the two cuboids-with-holes-in-them that can be done. There's the 2x3x6 with a 1x1x4 hole, and the 3x3x4 with a 1x2x2 hole. I imagine there are several ways to solve each, but I've included once possibility for each, in that not immediately readable notation everyone uses for polycube constructions.

Octomino towers

Imagine an octomino. Any octomino you like. Then imagine it made of cubes as opposed to squares, the planar octacube equivalent of the octomino. Now imagine stacking four of these perfectly on top of each other, creating a prism with volume 32 units squared and the octomino as its cross section. There is a chance that this resulting shape can be filled with the tetracubes. I mean, sometimes there's not, the I-octomino in this instance corresponds to a 1x4x8 rectangle which clearly can't fit the non-planar tetracubes. But The tetracubes show a surprising versatility when it comes to most of the other octominoes.

Some highlights shown in the diagrams below.

The stairstep octomino came as a surprise to me, I really didn't think it would be possible.

A useful solution is the one above to the doughnut-shaped one. This can be broken into three small 4-unit high towers as shown below, and these can be pushed together in various ways to make a whole host of octomino stacks.

Which begs the question: which of the octominoes can we solve this way, and which ones can't be? The above 'kit' of three pieces probably covers the majority, but it'd be interesting to see the set that just can't be done, either through the kind of impossibility the I-tetromino demonstrates immediately, or just cases where the pieces won't go despite there not being a clear reason for it.

This felt like the kind of problem where if I posted it to the Puzzle Fun Facebook group someone would get back with the results of an exhaustive search by the end of the day. So I tried that.


Pretty quickly Edo Timmermans had found all of the octominoes that could be created by combining the monomino, triomino and L-tetromino that make up the solution to the ring octomino way up there in the previous bit. These are marked in green in the above image. He also showed that any 'L' shaped octomino with a single bend in it was impossible, as the three nonplanar pieces would all have to occupy that bend.
I then found that my solution for the zigzag octomino could be similarly partitioned into a monomino, triomino and Z-tetromino which allowed solutions for a further five octominoes, those in dark blue.

George Sicherman then found the set of the 48 octominoes for which the prism has no solution, these were marked in red in the diagram. Which left nine octominoes, all of which had solutions, but which hadn't yet been found. I managed to pick off some of these by hand, as shown in the diagrams below, and the remaining five I verified in Aad van de Wetering's 'Poly3D' software. But I'll not put the solutions here, just in case anyone reading has a set of tetracubes themselves and fancies a nice challenge.



---

I've been updating this blog and the website sort of in tandem; I prefer the site for its more flexible formatting and the fact I can interlink and break things into pages a bit better, but this blog probably gets more traffic (it's not much, but it's traffic nonetheless) so I'll keep adding stuff here too. I'll figure something out.

Saturday, June 15, 2019

Tetracubes - A Very Short Introduction

Polycubes. Like polyomines but pure chunky like.
There's one monocube. That's the cube. And there's one dicube, I guess it would be called, a 2x1x1 rectangle that you can't do a lot with. There are two tricubes, and these are just the 'chunky' versions of the two triominoes. You can't really do too much with these either.

Fig. 1 - the monocube (a.k.a. the cube), dicube and two tricubes

Sure, there's the 3D versions of the little trivial things you can make with the triominoes: the stairstep shape from the two tricubes, or the 3x3x1 from the 1, 2 and 3-cubes all together. But these aren't exactly challenging or interesting, let's face it.

Fig. 2 - Truly riveting stuff
I never thought the tetracubes would be particularly interesting. I assumed that if they could make any cuboids or other shapes, I'd be able to buy a set from somewhere. And I assumed that the existence of the Soma Cube was because the mathematically-complete set of tetracubes wasn't much fun and this was the next best thing.

I thought wrong.

There are 8 tetracubes, if you count the top-left and top-right in the image below as two distinct shapes since you can't rotate one and get the other. Five are just the tetrominoes with an extra sprinkling of depth (the planar tetracubes) and the other three are brand spanking new. Together these have a total of 8x4=32 unit cubes. And since these aren't limited by parity issues the way tetrominoes are, there are a few nice rectangles you can knock together with these.

Fig. 3 - The tetracubes.
Making a set of these yourself is strongly encouraged. I did. Or I attempted to anyway. I grabbed a bunch of wooden cubes off eBay and glued them up one morning, only to realise afterwards that the cubes weren't as cubic as I'd have liked, so the shapes were a tad uneven. Still, they do the job.

The first thing I was delighted to find out was that these eight pieces can form a 2x2x4 cuboid. There are 1,390 ways of doing this but it's bloody hard. Or at least I had a right job with it.

Then, just after I'd calmed down from the sheer excitement of finding out a 2x2x4 was possible, I found out that a 2x2x8 was possible too!
In fact, the pieces can be made into two little 2x2x4 cuboids as in the image below, then these two cuboids can be arranged into either a 2x2x8 or the 2x4x4:

Fig. 4 - Cuboid solutions, colour-coded because I have no idea how else to represent 3D solutions as images.
Exciting stuff!
...Actually, this is about as far as I got playing with these. Obviously, 1xnxn rectangles are ruled out because three of the pieces stick out 2 squares in every direction. And I haven't found many other nice constructions (so far) while just playing around. (But that doesn't mean they're not out there, just that I'm far too lazy.)

Really, deep down, part of me just wants to buy some more wooden cubes and make a set of wonky-but-usable pentacubes. There are 29 of these bad lads (12 planar pentacubes and 17 that really utilise that third dimension), which is a bit of a shame because that gives 29x5 = 145 unit cubes which can't be split up into 3 factors, which means that solid cuboids are out. But some computer searching revealed that a 7x7x3 cuboid with a 2-cell deep central 'well' is totally possible. So if I was to make a set, I'd maybe include the 2x2x1 dicube and sacrifice a little bit of mathematical completeness for prettiness. And if my woodworking skills weren't utterly atrocious I'd consider making a nice little box that holds all 30 pieces in the 3x7x7 shape. And give it a hinged lid or something too while we're at it.

Having said that, I hate puzzles that have to be solved in order to be put away properly. I have this set of wooden pentominoes (and one tetromino) that fit into an 8x8 box but to put the lid on and have it all nice and tidy, you've got to solve the thing first, and it drives me up the wall.