-
Notifications
You must be signed in to change notification settings - Fork 0
/
cube-permutations.html
20 lines (20 loc) · 1.2 KB
/
cube-permutations.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
<title>1x2x3 Cube Permutations</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<style>
body {background-color: #222; position: relative; left: 10px; width: 90vw; height: 90vh;}
a, h1, p, span {color: #fff; font-family: verdana;}
input {margin: 4px 0px; display: block;}
</style>
</head>
<body>
<h1>1x2x3 Cube Permutations</h1>
<img src="https://mcnole25.github.io/images/rubiks-cubes.png" height=600px>
<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>
</body>
</html>