JBCM627
Veteran
So for some reason, I just can't seem to wrap my head around the following problem, after like hours of number pushing... and I really don't think it should be *that* difficult. Hopefully this description is clear enough...
The long story:
While trying to clean up an MxNxL scrambler I recently made (http://www.thewonderidiot.net/timer/scramble.html), I decided to try and optimize 1x1xN scrambling, as it seems fairly simple to do. No, the cleaner version isn't up yet, and I'm working on images too...
anyway, instead of generating a random position then solving that, I wanted to try and generate random moves on the cube as it would use the generator function I had already written. There are of course some simple and obvious ways to do this, one of which I will probably end up implementing... but the first thing I tried to do was the aforementioned: use the main generator (big while loop) function to generate the scramble. This means that I tried to generate a scramble with a random length, as the generator will only generate actual moves (no 0 turns). The scramble length would obviously have to be biased, as for example a 1x1x2 would have 4 states, 3 of which require a move. So the length would be 1, 3/4 of the time, and 0 1/4 of the time. Which leads me to...
Cutting to the chase:
For a 1x1xN cube, what is the probability that m moves will be required to solve a random cube? (worth 10 points)
*Also, a bonus problem for any puzzle builders out there, should the cubes always be forced to retain their shape, or is it possible to have some wierd (fully functional, like super functional) cube that deforms into a non-rectangular-prism shape? As in, what options should be present to restrict moves? (worth 1 point)
*Super bonus: extend the formula to an MxNx1, NxNx1, NxNxN, or other higher dimensional cube/puzzle, or prove the impossibility to generalize to this. (This could eliminate need to generate 'random positions' on cubes... but I have the suspicion that due to the fact that there is more than one way to generate some positions with the same ammount of moves, this may imply the impossibility of extending the formula, or at the very least invalidate the way I would use it to generate scrambles. This could also be used to find longest scramble length for any cube, which as well makes me think it may not be possible.) (worth 1 point)
The long story:
While trying to clean up an MxNxL scrambler I recently made (http://www.thewonderidiot.net/timer/scramble.html), I decided to try and optimize 1x1xN scrambling, as it seems fairly simple to do. No, the cleaner version isn't up yet, and I'm working on images too...
Cutting to the chase:
For a 1x1xN cube, what is the probability that m moves will be required to solve a random cube? (worth 10 points)
*Also, a bonus problem for any puzzle builders out there, should the cubes always be forced to retain their shape, or is it possible to have some wierd (fully functional, like super functional) cube that deforms into a non-rectangular-prism shape? As in, what options should be present to restrict moves? (worth 1 point)
*Super bonus: extend the formula to an MxNx1, NxNx1, NxNxN, or other higher dimensional cube/puzzle, or prove the impossibility to generalize to this. (This could eliminate need to generate 'random positions' on cubes... but I have the suspicion that due to the fact that there is more than one way to generate some positions with the same ammount of moves, this may imply the impossibility of extending the formula, or at the very least invalidate the way I would use it to generate scrambles. This could also be used to find longest scramble length for any cube, which as well makes me think it may not be possible.) (worth 1 point)
Last edited: