Skip to content

Commit

Permalink
Update cube-permutations.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnole25 authored Jan 5, 2025
1 parent 71142aa commit c608b8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cube-permutations.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
</head>
<body>
<h1>1x2x3 Cube Permutations</h1>
<img src="https://mcnole25.github.io/images/rubiks-cubes.png" height=600px>
<img src="https://mcnole25.github.io/images/1x2x3-rubiks-cube.png" height=368px style="image-rendering:pixelated">
<p>All possible scrambles of the 1x2x3 Rubik's cube. There are 48 combinations, and we can demonstrate how.</p>
<p>Consider just the top face of the puzzle. With only 180° turns, we can move the top, left, right, or bottom parts. To preserve orientation, let's say top and bottom moves are identical. This means the lower middle cubie will be in a fixed position.</p>
<p>For the 5 cubies from the top face, there are only 12 possible orientations. For the red/orange side, since one of them is in a fixed position, we get only 4 possibilities. Red/Red/Red, Red/Red/Orange, Orange/Red/Red, Orange/Red/Orange.</p>
<p>12 * 4 = 48. If orientation matters, you can turn the puzzle 180° horizontally and/or upside down. So 12 * 4 * 4 = 192.</p>
<p>For certain arrangements, the pattern is different and it depends on the green/blue side. Orientation of the puzzle is disregarded, so don't just rotate the puzzle and say &quot;It isn't unique&quot;, OK?</p>
</body>
</html>

0 comments on commit c608b8b

Please sign in to comment.