最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

[Combinatorics] Permutations of the Rubik’s Cube

2021-08-27 06:24 作者:AoiSTZ23  | 我要投稿

By: Tao Steven Zheng (鄭濤)

【Problem】

Calculate the number of arrangements of the Rubik's cube if the cube is solved only by twisting the faces (a.k.a. making legal moves).

Two things to remember:

(1) The center piece of each face are fixed in position (although they do mechanically rotate with the face).

(2) Some permutations are impossible states when legal moves are considered.

【Solution】

The number of possible permutations of the squares on a Rubik’s cube (3x3x3 cube) can be determined by calculating? the number of arrangements of the corner pieces and the edge pieces.

Corner Pieces

There are 8 corner pieces that can be permuted in 8! ways. Furthermore, each permutation can be arranged in 3 orientations, thus giving 3%5E8 possibilities for each permutation of the corner pieces. Therefore, the number of possible arrangements for the 8 corner pieces is 8!%20%5Ctimes%203%5E8.


Edge Pieces

There are 12 edge pieces which can be arranged in 12! ways. Each edge piece has 2 possible orientations, so each permutation of the edge pieces has %7B2%7D%5E%7B12%7D arrangements. Therefore, the number of possible arrangements for the 8 corner pieces is 12!%20%5Ctimes%20%7B2%7D%5E%7B12%7D.


Possible and Impossible States
There are three sets of "impossible states" that cannot be accessed by twisting (a.k.a making legal moves) the Rubik's cube.

(1) For the Rubik's cube, every reachable arrangement by legal moves from twisting the cube can always be represented by an even number of swaps. Subsequently, it cannot be represented by an odd number of swaps. For example, the arrangement shown below, which lacks the correct cube-rearrangement parity, has only one swap (odd number of swaps); thus, this is impossible. Since exactly half of the conceivable permutations are even and the other half are odd, only half of the cube's permutations (ignoring orientation) are reachable by legal moves. Therefore, we must divide by 2.


(2) Each legal move of the Rubik's Cube always flips an even number of edges such that the edge pieces has the same edge-flipping orientation as the original cube. For example, the arrangement shown below would be impossible to reach by legal moves, and there is no way of correcting the orientation by legal moves as well. Hence, only half of the edge orientations are reachable, and we must divide by 2 again.


(3) Each legal move of the Rubik's Cube always twists the corners in such a way that the sum of all of their orientations is exactly divisible by 3. Notice that every corner piece either belongs to the top or bottom and therefore each corner piece has one of its coloured face being either the colour of the top face or the colour of the bottom face. Any twist of the top and bottom faces will not change the orientation of the corners, and therefore the total orientation will remain exactly divisible by 3. For example, the arrangement shown below would be impossible to reach since its total corner orientation is 1 (not divisible by 3). Thus, only one-third of the corner arrangements are reachable.


Now that we know all the possible arrangements and the possible and impossible states, the total number of permutations is:


%5Cfrac%7B8!%20%5Ctimes%203%5E8%20%5Ctimes%2012!%20%5Ctimes%20%7B2%7D%5E%7B12%7D%7D%20%7B2%20%5Ctimes%202%20%5Ctimes%203%7D%20

%5Cfrac%7B40320%20%5Ctimes%206561%20%5Ctimes%20479001600%20%5Ctimes%204096%7D%7B12%7D%20%3D%2043252003274489856000%20


[Combinatorics] Permutations of the Rubik’s Cube的評論 (共 條)

分享到微博請遵守國家法律
泸西县| 临泽县| 德江县| 吴江市| 利辛县| 海晏县| 平罗县| 波密县| 甘谷县| 普兰县| 罗江县| 安仁县| 莎车县| 定结县| 遵义县| 津市市| 黄浦区| 达日县| 兴文县| 晋江市| 汝州市| 北辰区| 邯郸市| 郧西县| 迁安市| 阳山县| 颍上县| 宿迁市| 顺昌县| 肥东县| 专栏| 沂南县| 行唐县| 那坡县| 磴口县| 涟源市| 石河子市| 元朗区| 大连市| 灵宝市| 哈密市|