五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(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的評論 (共 條)

分享到微博請遵守國家法律
乌海市| 印江| 绥化市| 南充市| 银川市| 双牌县| 张家口市| 靖远县| 萨嘎县| 古蔺县| 咸宁市| 北票市| 黄龙县| 花垣县| 金华市| 房产| 孟津县| 涞水县| 德庆县| 呼伦贝尔市| 黄浦区| 二手房| 浏阳市| 岑溪市| 天镇县| 涪陵区| 朝阳市| 钦州市| 大港区| 西华县| 米泉市| 扎兰屯市| 邵阳县| 合作市| 剑河县| 和平区| 抚松县| 临颍县| 宜宾县| 江达县| 门源|