Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Exploring an interesting idea about Rubik's hypercubes  (Read 2910 times)

FearfulJesuit

  • Bay Watcher
  • True neoliberalism has never been tried
    • View Profile
Exploring an interesting idea about Rubik's hypercubes
« on: April 14, 2012, 12:40:53 am »

This isn't really a creative project, but it burst forth from the loins of my mind, so I'm just going to pretend it can warrant its own thread in Creative Projects.

Fig. 1:



Yay, a Rubik's cube! Actually, it's a lot more specific than that. We can say that this is a 3x3 Rubik's cube in 3 dimensions, and that therefore it has 6 colours and its stickers are 2-dimensional.

Fig. 2:



Yay, it's a...a what exactly? This is still 3x3, and it's still a Rubik's n-cube, but it is 4-dimensional. Each of those solid-coloured cubelets is in fact a sticker. You can't quite see the edge/corners/centres/whatever the hell you have in 4-D that they're on, of course, as those are 4-D, but it's worth showing that there are 8 sides each containing 27 stickers; you can see one in the centre, 6 bordering it, and one that you can't see but can switch out with another side by rotating the 4-cube in the fourth dimension. So rather than the 54 stickers of a 3x3 3-cube, we now have 216 to keep track of, and you can't see how they're bordering each other. That makes solving it rather more difficult (though still possible; you obviously can't manufacture this sort of Rubik's cube, but you can program a computer to emulate one that you can play around with.)

Then a thought occured to me: Those stickers in the centre are 3-cubes.

A normal Rubik's cube is a 3-cube.

So now let's imagine that each of those stickers that we see is in fact a 3-cube in miniature. Obviously you couldn't mark these mini-stickers they have on them with colour; you could mark them with texture, or shading, or something. It doesn't really matter, of course; from the standard of mathematics you would just assign each substicker two numbers: the first indicating what the colour of the big, 3-D sticker it's on is, from 1 to 8, and the second indicating what its texture is, from 1 to 6. In actuality it will be more complicated than this, because the part of the cube it's on- a corner, an edge, a centre- and the part of the 4-cube its mother sticker is on- must also be marked. In any case, then, there are 216*54= 11,664 2-stickers to keep track of.

And in fact you can extend this indefinitely! You can define all Rubik's cubes with just 3 numbers: n, q and k. The Rubik's cube is marked as n by n; in other words, each side has n by n by n (however many dimensions it is) stickers in it. Q is the cube's dimension. K is defined as the iteration. If the stickers of the cube are not further broken up, then k=0; it has not been iterated. For obvious reasons, all run-of-the-mill 3-cubes (you know, the ones you can actually manufacture and don't fuck your mind up too much) have a K of zero, because there are no 2-D Rubik's cubes strictu sensu (I don't think). A Rubik's tesseract can have a K of zero (stickers are not broken up) or a K of 1 (3-D stickers are treated as 3-cubes; cannot go further since that would involve treating a 2-D sticker as a 2-cube, which doesn't exist.) A Rubik's 5-cube (which is a penteract) has tesseractal stickers; thus it can have a K of zero (4-stickers not broken up, thus no iteration), a K of 1 (stickers treated as 4-cubes [iteration 1], stickers of resulting 4-cubes not further broken up), or a K of 2 (stickers treated as 4-cubes [iteration 1], stickers of 4-cubes as 3-cubes [iteration 2], stickers of resulting 3-cubes are 2-D and thus we cannot iterate further), and so on and so on; it is thus clear that n≥2, q≥3, k≤q-3. You could even imagine a fully fractal (q=∞) cube floating in a Hilbert space!

Actually, no you couldn't...that's nonsense. I think...Interesting thing to think about, though.

The first question is not really a question at all. It's really just a question of practicality- if we consider that any move on a lower-dimension sticker is counted as one move, just as any move on a higher-dimensional sticker or the whole n-cube is counted as one move- in other words, rotating the whole Rubik's penteract is counted as the same kind of move as rotating a 3-D substicker inside one of the penteract's tesseract stickers, are there defined algorithms to solve a scrambled cube?

(Alright, I'll make it a real question- are changing each of n, k or q a P problem, or an NP problem? In other words, can we still solve the n-cube in polynomial time relative to a changing number of stickers, a changing dimension, or a changing number of iterations? Which of these is P, and which of these is NP?)

The second question is, of course, completely impossible and just me having my head in the clouds- find a function f(n, k, q) which is equal to God's Number for a fully scrambled n by n Rubik's k-cube that's gone through q iterations. For example, f(3, 3, 0)- God's number for a normal Rubik's Cube- is equal to 20; f(2, 3, 0)- God's Number for a 2x2x2 cube, or what's sold under the name of the Pocket Cube- is equal to 11. For the purposes of God's number, half-turns or quarter-turns are counted as one turn; in other words, so long as you are moving only one face, you have only made one move.

Happy mathing?
« Last Edit: April 14, 2012, 12:57:24 am by dhokarena56 »
Logged


@Footjob, you can microwave most grains I've tried pretty easily through the microwave, even if they aren't packaged for it.

Nospherat

  • Bay Watcher
  • Dorfity dorf dorf
    • View Profile
Re: Exploring an interesting idea about Rubik's hypercubes
« Reply #1 on: April 14, 2012, 03:39:03 am »

And this, ladies and gentlemen is the reason why I lurk in these forums even when I don't play DF.

Lovely. Reminds me of "—And He Built a Crooked House—"
Logged

Normandy

  • Bay Watcher
    • View Profile
Re: Exploring an interesting idea about Rubik's hypercubes
« Reply #2 on: April 14, 2012, 04:47:01 pm »

I don't think that K is actually important. Any sort of 'breaking up' of the rubik's cube into lower-dimensional stickers which preserves the original structure of the cube won't introduce new allowable rotations, so the problem then becomes exactly the same as solving the original cube without broken-up stickers. Also, note that in the tesserect puzzle, each of the squares on each of the cubes that compose the 3-faces of the tesseract are exposed, so there really isn't a natural way of turning these cubes into normal rubik's cubes that would preserve the original structure of the tesseract (at least none that I can think of).
Logged

FearfulJesuit

  • Bay Watcher
  • True neoliberalism has never been tried
    • View Profile
Re: Exploring an interesting idea about Rubik's hypercubes
« Reply #3 on: April 14, 2012, 05:08:22 pm »

Yeah, I realised that breaking it up isn't different...It might become a very interesting problem, though, if you invented a Rubik's Cube-like "turn" which could swap substickers between stickers.

Well, I mean, you can just pretend they can rotate on their own accord as 3-cubes but are solid as stickers, right? I mean, if you take a sticker off a normal Rubik's Cube and turn it 90 degrees, it's still a sticker.
Logged


@Footjob, you can microwave most grains I've tried pretty easily through the microwave, even if they aren't packaged for it.