God s Number and the Robotic Turn Metric

Size: px
Start display at page:

Download "God s Number and the Robotic Turn Metric"

Transcription

1 Saint Peter s University Honors Thesis God s Number and the Robotic Turn Metric Author: Nykosi H. Hollingsworth Advisor: Dr. Brian Hopkins A thesis submitted in partial fulfilment of the requirements for a baccalaureate degree in Mathematics in Cursu Honorum Submitted to: The Honors Program, Saint Peter s University April 28, 2015

2 Abstract Since the invention of the Rubik s cube in the 1970s, mathematicians have been captivated with finding out the maximum number of moves needed to solve the Rubik s cube optimally from any of the cube s approximately 43 trillion possible positions. This value, known as God s number, depends on the metric, which is the set of allowed moves. This thesis proposes a new robotic turn metric based on allowing antipodal faces of the cube to be turned simultaneously. Although human solvers cannot easily accomplish such moves, they are used by various robotic cube solvers, thus the name. We explore lower and upper bounds for God s number in this metric and how it compares to God s number in the Face Turn Metric and Quarter Turn Metric. 1

3 Acknowledgements Let me take this opportunity to commend those who have had a crucial role in assisting me in completing this thesis. I would first like to thank my adviser, Dr. Hopkins, for his constructive criticism, lucid guidance and his unending patience. This thesis would not exist without his support, as well as the influence of Thomas Rokicki who proposed the idea for the Robotic-Turn Metric. My family, friends, and fellow students have also played an integral part by showing their support when things seemed to be at a dead end. I cannot begin listing the ways they have helped as it would be endless. I would also like to show my appreciation for Dr. Wifall, the honors program director, who showed passion and genuine interest in all the students who took up the challenge of completing a thesis. Whether you provided a minute or grand contribution, I appreciate your efforts. Thank you. 2

4 Contents 1 The Cube 4 2 Mathematical Concepts Recursively Defined Sequences Cycle Notation Cayley Graphs Permutations of the Cube Existing Metrics Face-Turn Metric Establishing a Lower Bound Establishing an Upper Bound Quarter-Turn Metric Establishing a Lower Bound Establishing an Upper Bound Robotic-Turn Metric Search for a Lower Bound Search for an Upper Bound Appendices: Mathematica Code Evaluation of Moves Reduction of 20-length FTM sequences

5 1 The Cube In the 1974, Ernő Rubik, an architectural professor of Budapest College of Applied Arts, invented a device in which the each face of a cube rotates around its axis [1]. Although it is widely reported that the cube was built as a teaching tool to help his students understand 3D objects, his actual purpose was solving the structural problem of moving the parts independently without the entire mechanism falling apart. He did not realize that he had created a puzzle until the first time he scrambled his new cube and then tried to restore it; which took him about a month. When its popularity exponentially grew in the 1980s due to its international launch, the cube garnered the attention of mathematicians, and those of similar minds, into finding out optimal move sequences that will solve the cube in the shortest amount of moves. The length of this optimal sequence is what we call God s number. God s number, however, changes depending on what moves are allowed, which determines a metric. For instance, consider the most popular metrics: the Face-Turn Metric (FTM) and Quarter-Turn Metric (QTM). FTM counts all face rotations of 90 and 180 as one move. However, only 90 turns in either direction is allowed as one move in QTM. Thus, in contrast to one 180 face rotation in the FTM, it would be considered be two moves in QTM. Instinctively, we would assume that God s number in FTM should be less compared to QTM and it is. As of today, God s number in the FTM and QTM are 20 and 26 respectively [10]. Regardless, each metric determines moves which are required to solve the Rubik s cube from any of its approximately 43 quintillion positions. The Rubik s cube s many positions are a result of each face of each cube being permuted. The cube consists of 27 cubies; however, only 20 are adjustable since the 6 center cubes are fixed and the unseen middle cube is also fixed. The cube s 8 corners that may be permuted in 8! = 40,320 ways, and 12 edges that can be permuted in 12! = 479,001,600 ways. Once seven corner rotations have been made, the orientation of the eighth corner is forced. This leads to 3 7 = 2187 possible orientations by forcing the orientation of the fixed corner. Similarly, once 11 edge orientations have been made, the last edge cubie is forced. This leads to a total number of edge orientations is 2 11 = 2,048 [9]. However, because the Rubik s cube only allows even permutations of its cubies, only half of these permutations are 4

6 allowed since there are equal numbers of even and odd permutations. From these numbers, we can tell that the number of permutations of the Rubik s cube is 8! 12! = 43, 252, 003, 274, 489, 856, Mathematical Concepts 2.1 Recursively Defined Sequences A recursive sequence is a sequence of numbers indexed by an integer n and generated by a recurrence equation. The recurrence equation is a discrete equation which related past indexes of n to future indexes. Recurrence equations are differential equations, and may not always be solvable. When a recurrence equation is solvable, the resulting equation is considered a closedform solution [5]. One of the most famous closed-form recursive sequences is the Fibonacci sequence. The Fibonacci sequence, F (n), is defined by as F (0) = 0, F (1) = 1, and F (n) = F (n 1) + F (n 2) for n 2. With this definition, the first few terms are 0, 1, 1, 2, 3, 5, 8, 13, 21. The asymptotic behavior of some sequences can also be found as the index n approaches infinity. For the Fibonacci sequence, this asymptote is the golden ration, which is approximately The recursive sequence found in the later portion of this paper for the Robotic-Turn Metric is defined for only finitely many terms since it is limited by the total number of positions of the cube. Thus, we do not need to observe the limit as n approaches infinity. 5

7 2.2 Cycle Notation A permutation is a one-to-one and onto function for some set G. Our permutation functions for the cube group are our selected moves that are within G. Permutations may be written in cycle notation. To illustrate this, consider the following permutation on G = {1, 2, 3, 4, 5, 6}, [ ] α = This notation means 1 2 1, , 5 5. A more succinct expression of this is the cycle α = (12)(346)(5). In fact, numbers like 5 that are sent to themselves are excluded by convention, so we write α = (12)(346). Recall that the cube group, however, is a permutation group which only allows even permutations of the smaller cubies. A permutation is considered even or odd depending on whether the permutation can be written as the product of an even or odd number of 2-cycles. (While a permutation can be written as such a product in many ways, the number of 2-cycles is always even or odd, see [7]). For instance, consider α = (12)(346) = (12)(34)(36). Since the number of 2-cycles in α is three, α is an odd permutation. The permutation functions (moves) are even permutations of the cubies. For each move, 9 cubies are moved with one being shifted around its axis, making it 8 cubies that are actually permuted. The permutation of these 8 cubies results in the product of two cycles each of length-4, each an odd permutation. The product of two odd permutations is even (because the sum of two odd numbers is even), thus all moves allowed on the cube are even permutations. It is also proven that exactly 1 2 of all the permutations on a set are even. When considering the permutation of all edges and corners together, the overall permutation must be even. However, when considering only edges or 6

8 corners alone, it is possible for them to be either even or odd. To obey the laws of the cube [8] which require an even permutation, if the permutation of edges is even then the permutation of corners must also be even, and if the edge permutation is odd then the corner permutation must also be odd. 2.3 Cayley Graphs A Cayley graph is used to analyze the structure of finite groups. Given a finite group S and a generating subset G (written S = G ), the Cayley graph of S and G is denoted Γ(S, G). Figure 1 shows the Cayley graph of symmetric group, S 4. The 4! = 24 vertices are all the permutations of 1, 2, 3, 4. The generators are the transpositions (12) (shown as blue edges), (23) (red), and (34) (green). Figure 1: The Cayley graph of S 4 with generators (12), (23), (34). http: //en.wikiversity.org/wiki/symmetric_group_s4 Each vertex is a representation of a possible permutation of the set, and each edge represents a move performed. For Rubik s cube, considering the approximately 43 quintillion possible states, there would be that many vertices, making the Cayley graph for the cube, if graphically represented, considerably large and complex. The diameter of a group is the smallest number of edges needed to move from one vertex to the other without any 7

9 repeated vertices. In Figure 1, the diameter is Permutations of the Cube The cube may be analyzed using permutations, where each possible arrangement of the cube can be found through the product of disjoint cycles. In group theory, God s number is the diameter or maximum distance between the vertices of the Cayley graph associated with the particular metric. Imagine a cube on your desk, untouched. The face directly facing you is the front, then the back, the top, the bottom, the right, and the left. We denote these faces as F, B, U, D, R, and L respectively. Figure 2: Diagram of the numbered mapping of each cube. sfu.ca/~jtmulhol/math302/puzzles-rc.html The disjoint cycles whose product reproduces the permutation space, S (all possible positions), are these moves represented in cycle notation. These cycles are developed by observing what labels are permuted during a move sequence. For example, the first cycle of a 90 clockwise rotation of the corners of the Up face is (1, 3, 8, 6). Using this cycle and Figure 2 to visualize, that clockwise rotation results in the labels moving from 8

10 (a) Front face, denoted F (b) Up face, denoted U (c) Left face, denoted L (d) Back face, denoted B (e) Down face, denoted D (f) Right face, denoted R Figure 3: Illustration of the corresponding side for each allowed move Similarly, the second cycle of a 90 clockwise rotation of the Up face, (2, 5, 7, 4), symbolizes a permutation in edge labels from The other three cycles of this move are derived from observing permutations of the four adjacent faces [1]. The complete notation of U in cycle notation, as well as the other moves, are listed below. (Note that, as a permutation of labels, U is an odd permutation. However, as an action on cubies, it is the product of two cycles of length four, an even permutation, as discussed above). The group, S, is generated by G = {F, B, U, D, R, L}, since all positions of the cube in S can be found from products of the elements of G. U = (1, 3, 8, 6)(2, 5, 7, 4)(9, 33, 25, 17)(10, 34, 26, 18)(11, 35, 27, 19) L = (9, 11, 16, 14)(10, 13, 15, 12)(1, 17, 41, 40)(4, 20, 44, 37)(6, 22, 46, 35) F = (17, 19, 24, 22)(18, 21, 23, 20)(6, 25, 43, 16)(7, 28, 42, 13)(8, 30, 41, 11) R = (25, 27, 32, 30)(26, 29, 31, 28)(3, 38, 43, 19)(5, 36, 45, 21)(8, 33, 48, 24) 9

11 B = (33, 35, 40, 38)(34, 37, 39, 36)(3, 9, 46, 32)(2, 12, 47, 29)(1, 14, 48, 27) D = (41, 43, 48, 46)(42, 45, 47, 44)(14, 22, 30, 38)(15, 23, 31, 39)(16, 24, 32, 40) 3 Existing Metrics 3.1 Face-Turn Metric The Face-Turn Metric (FTM) includes face rotations of ±90 and 180. With each of these rotations applied to each of the six faces of the cube, the set G of the FTM contains 6 3 = 18 elements. These 18 elements are listed below G F T M = {F, F 2, F 3, B, B 2, B 3, U, U 2, U 3, D, D 2, D 3, L, L 2, L 3, R, R 2, R 3 }, where X 2 (X being some face move) is a 180 rotation of that face and X 3 is a 270 clockwise rotation (or 90 counterclockwise rotation). We see here that the set G F T M is larger than that of G QT M, and, as a result, God s number is reduced. In the majority of presentations of the Rubik s cube, the metric of choice was the FTM. Thus, optimal solution analysis occurred primarily in the FTM, and later proceeded into the QTM Establishing a Lower Bound In 1980, the same year as the Rubik s cube s international debut, a lower bound for the FTM was developed through a simple counting method. Since FTM and QTM do not work in antipodal systems like RTM, to solve a cube n moves away from solution, each consecutive move must involve a different face, so there are 5 3 = 15 options at each step after the first. Thus, N F T M = = n 1, Comparing the total number of positions of the cube [10] and the total number of positions reached using a maximum of 16 moves, the latter number was observed to be smaller, and therefore could not be a lower bound. Positions reached with a maximum of 17 moves, however, was larger than 10

12 n N F T M , , , ,668, ,031, ,075,468, ,132,031, ,980,468, ,379,707,031, ,695,605,468, ,335,434,082,031, ,031,511,230,468, ,472,668,457,031, ,882,090,026,855,470, ,231,350,402,832,000,000 Table 1: Simple count of moves needed to encompass all positions of the Rubik s cube in FTM. all possible positions of the Rubik s cube [10]. A refinement of this method gives a lower bound of 18 moves, which was not improved for 14 years as most analysis was concentrated on finding an upper bound. Using Kociemba s Two-Phase algorithm to find optimal solutions in 1995, Micheal Reid raised the lower bound from 18 by proving the minimum number of moves to solve cubes in the superflip position (where all corners are solves, and all edges are flipped in their home position) is 20 [10] Establishing an Upper Bound In 1981, Morwen B. Thistlethwaite developed an algorithm that solves the cube optimally. This method requires computation power beyond that of human capability, but is ideal for computer analysis. Thistlethwaite s procedure is conducted my moving the cube into a position that can be solved 11

13 Figure 4: Development of the lower and upper bounds in the Face-Turn Metric. without using and quarter turns of U and D (U 2 and D 2, however, are still allowed). Those moves are then conducted until the position can be solved, similarly, without F and B quarter turns; then finally without using L and R quarter turns until the cube is in a state that can be solved by only using half-turn rotations [10]. Collectively, the groups contain all possible positions of the cube, and further analysis using many different positions of the cube revealed an upper bound of 52 moves. However, in 1990, Hans Kloosterman, with a slight variation to Thistlethwaite s original algorithm, reduced the upper bound to 42. In 1992, Micheal Reid improved Kloosterman s calculations to reduce the upper bound to 39. Amazingly, the upper bound was reduced once again only a day later to 37 by Dik T. Winter through analysis of Kociemba s two-phase algorithm. In 1995, after re-analyzing Winter s approach, Reid cut the upper bound to 29 moves, and also raised the lower bound to 20 moves moves by specifically analyzing a cube position known as superflip. After this, the cube s upper bound analysis remained at 29 for another 10 years [10]. Using Michael Reid s upper bound proof in 1995, Silviu Radu reduces the upper bound to 28 by proving that 29-length moves can intentionally be avoided in Upon further optimization, Radu improves his analysis and reduces the upper bound once again in 2006 to 27. With a new technique in mathematical group theory in 2007, Dan Kunkle and Gene Cooperman placed positions of the cube in a family of cosets (an internal group structure) and then simulated performing a single move on each coset. This required considerable computation power, but this ap- 12

14 proach showed that the cube can be solved in a maximum of 26 moves. It was from this point on Rubik s cube upper bound analysis began to move quickly. The next three years of upper bound analysis was dominated by Tomas Rokicki and his colleagues. Rokicki lowered the upper bound to 25 in 2008, and again to 23 and 22 later that year when joined by John Welborne using computers that can handle considerable simultaneous computations at Sony Pictures Imageworks. Using Kociemba s two-phase solver, 33GB (gigabytes) of memory and 3.7 million CPU (central processing unit) years were needed to compute all possible cube positions. In a joint effort, Rokicki, Herbert Kociemba, Morley Davidson, and John Dethridge proved that God s number for the cube using FTM is 20 in 2010 [12]. A prominent advantage in Rokicki s approach is his partitioning of the cube s positions into smaller, more easily computed sets. Working with the group generated by {U, F 2, R 2, D, B 2, L 2 }, the set of 43 quintillion positions of the cube is reduced to smaller partitions of sets. These sets are further reduced using symmetry. Partitioning the positions of the cube in this way allowed for faster computation. 3.2 Quarter-Turn Metric The Quarter-Turn Metric (QTM) includes face rotations of ±90. With each of these rotations applied to each of the six faces of the cube, the set G in QTM contains 6 2 = 12 elements, specifically G QT M = {F, F 3, B, B 3, U, U 3, D, D 3, L, L 3, R, R 3 }. Similar to the FTM, a simple counting method was used to determine an appropriate upper bound, N QT M = = n 1. As shown in Table 2, the results of this count established an initial lower bound of

15 n N QT M , , , ,932, ,258, ,846, ,572,306, ,295,372, ,249,095, ,423,740,047, ,661,140,520, ,272,545,727, ,556,998,002,998, ,126,978,032,987, ,396,758,362,866, ,065,364,341,991,530, ,719,007,761,906,800,000 Table 2: Simple count of moves needed to encompass all positions of the Rubik s cube in QTM Establishing a Lower Bound In 1981, Dan Hoey presented the first lower bound for the QTM. In his proof, he defined optimal solutions to be sequences where adjacent moves are ±90 rotations of antipodal faces. Hoey s analysis resulted in a 21 move lower bound [10]. In 1995, Micheal Reid raised this lower bound to 22 moves based on conjecture optimal solutions of superflip positions. Reid raised the lower bound in 1998 after finding that the superflip position composed with four-spot pattern (L, R,F, and B face center pieces are swapped with the antipodal counterpart s centerpiece) is 26. The lower bound for QTM continues to be 26 [10]. 14

16 3.2.2 Establishing an Upper Bound Figure 5: Development of the lower and upper bounds in the Quarter- Turn Metric The first upper bound proposed for the QTM was found through analysis of the worst-case scenario positions of early solution manuals. When Morwen Thistlewaite established a 52 move upper bound for the FTM in 1981, an upper bound of 104 was given for QTM by simply doubling this number. Similarly, in 1992, when Micheal Reid reduces the face-turn upper bound to 39, he also reduced the quarter-turn upper bound to 56, then to 42. The QTM s upper bound contiued to be reduced to 40 by Silviu Radu, then to 38 by Bruce Norskog, then 36, 35, and 35 by Radu after further improvement of his algorithm by 2007 [10]. In the first half of 2009, using coset partitioning, Thomas Rokicki further reduced this upper bound to 32, 31, 30, and 29. It was not until a joint effort by Rokicki and Morely Davidson in 2014 that God s number was proven to be 26 in QTM. This was accomplished with about 29 CPU years provided by the Ohio Supercomputer Center [11]. 4 Robotic-Turn Metric The Robotic-Turn Metric is named after its appropriate user. When holding the cube, it is near impossible for us to perform these moves, and added to the fact that it requires a considerable amount of calculations for optimal solution, this metric is not fit for human use, but robotic. By following the assumption that a larger number of generators would reduce God s number, the Robotic-Turn Metric (RTM) with many more generators should have 15

17 Figure 6: Illustration of a robot capable of solving in RTM. robot-can-solve-any-rubiks-cube-in-under.php a lower God s number. In the RTM, moves are not counted as singular movements, but work as a binary system of antipodal faces. The moves of the generating set G RT M are defined in terms of X i Y j, where X and Y are antipodal faces and i, j {0, 1, 2, 3} which define how many 90 rotations that face undergoes, with 0 = 0, 1 = 90, 2 = 180, and 3 = 270. There are 4 4 = 16 possibilities for i and j, but we remove the move that represents the do-nothing move when i = j = 0, so we have 15 moves for each antipodal face combination. Since we have 3 pairs of antipodal faces, the set G RT M has 45 elements, listed below. This is roughly four times as many as the FTM, and so we expect that God s number for RTM will be less than God s number for the other metrics we have discussed. G RT M ={U 0 D 1, U 0 D 2, U 0 D 3, U 1 D 0, U 1 D 1, U 1 D 2, U 1 D 3, U 2 D 0, U 2 D 1, U 2 D 2, U 2 D 3, U 3 D 0, U 3 D 1, U 3 D 2, U 3 D 3, F 0 B 1,..., F 3 B 3,..., L 0 R 1,..., L 3 R 3 } 16

18 (a) Front and Back face combination, denoted F B (b) Up and Down face combination, denoted UD (c) Left and Right face combination, denoted LR Figure 7: Illustration of the combinations of antipodal faces. 4.1 Search for a Lower Bound To determine an appropriate lower bound for RTM, we used a simple counting method to calculate all the minimum number of moves needed that may solve all positions of the cube, then compared this same counting method to previous metrics where a lower bound had been more carefully established. If the cube was in a state where one move would result in the cube s solution, there would be one of 45 possible moves that can solve this. If the cube state was two moves away from being solved, the two moves would be from different antipodal combinations, and the second move would be one of the 30 from the two families not used in the first move. This was concluded from the fact that any number of successive moves from the same antipodal family could have been performed in one move. In this manner, if we denote n as the number of moves from being solved, then the number of possible positions in this state, a first approximation for N RT M = A(n) is given by A(1) = 45 and A(n) = 30 A(n 1) for n 2. It was found that some sequences, after performing a particular move, does not genuinely progress the sequence to n + 1 moves away from the solution. For instance, consider a cube 2 moves away that may be solved using the sequence U 2 D 2 L 2 R 2 ; however, this sequence may also be solved if these moves were switched to L 2 R 2 U 2 D 2. Since there are three distinct combinations of antipodal systems, then the number of redundancies in a list of n-length sequences is at least 3A(n 1). 17

19 We expect similar redundancies within these lists for greater n-length sequences. To remove these redundancies, calculations were made using Wolfram s M athematica because of its permutation and group analysis capabilities. U 2 D 2 L 2 R 2 L 2 R 2 U 2 D 2 Figure 8: Illustration of redundancy in U 2 D 2, L 2 R 2 sequences. We began with A(0) = 1 from the identity (solved state) and A(1) = 45 from our established 45 elements (moves) in G RT M. The approximation = 1350 overestimates A(2) = 1347 determined by Mathematica. For A(2), these = 3 redundancies can be understood using Figure 8, which shows one such redundancy both possible orders of the U 2 D 2 and L 2 R 2 moves result in the same state. With three antipodal systems (U i D j, F i B j and F 2 B 2, L 2 R 2 being the other two), the three redundancies in A(2) are accounted for. This computation, being more carefully calculated, would have provided an accurate depiction of the lower bound in the RTM. However, due to limited CPU power, the maximum A(n) calculated was for permutations exactly 4 moves away from the identity, A(4). To complete the table, a recursive sequence was developed. Using the three redundancies found above, 18

20 n A(n) , , ,152, ,419, ,730, ,076,156, ,686,232, ,581,550,968, ,418,589,600, ,806,191,488,933, ,004,239,598,314, ,635,245,408,824,725, ,106,870,351,308,403,819 Table 3: Distribution table to identify a lower bound in RTM. The values up to A(4) are exact and subsequent are upper bounds found using the recursive formula. we projected 30 A(2) 3 A(1) = = 40, 275 for A(3), which we know is 39, 631 from Mathematica. We conclude that there are 40, , 631 = 644 redundant length 3 paths. Similarly, we find that there 3, 619 redundant length 4 paths. This gives us the approximation A(n) = 30 A(n 1) 3 A(n 2) 644 A(n 3) 3619 A(n 4), for n 5, shown in Table 3. For values beyond A(4), these are upper bounds since there are almost certainly longer redundant paths. Nonetheless, we can conclude that 13 moves in the RTM are not enough to reach all cube positions, so God s number for this metric is at least Search for an Upper Bound With God s number established to be 20 in the FTM, it serves as a reference and initial proposition for an upper bound in RTM. To analyze the upper 19

21 Figure 9: Tally of permutations vs Number of moves reduced. bound further, a list of 32,625 known 20-move sequences was reduced using the antipodal system of the RTM. The reduction of the sequence occurs when consecutive moves are antipodal faces. A tally of the reductions showed that 19,161 sequences were not reduced; 10,747 were reduced by 1; 2,389 were reduced by 2; 308 reduced by 3; 19 reduced by 4; and 1 reduced by 5. This tally holds that the maximum number of moves needed in the RTM is 20, however, the reduction lacks the ability to optimally solve these 20-move sequences. This shortcoming makes the viability of this tally questionable. Without an optimal solver, a new upper bound was established using the reduction of super flip in the Slice-Turn Metric. Slice-turn metric has more similarity to the robotic-turn metric because it allows permutation of the middle slices of the cube as one move. These slice-moves can be reimagined in RTM to be moves where the outer slices move in unison. An optimal solution for superflip in the slice-turn metric is known to be 16 [13]. If super flip is also a hardest position for RTM, then this suggests 16 as an upper bound for God s number for the RTM. 20

22 5 Appendices: Mathematica Code 5.1 Evaluation of Moves U = Cycles[{{1, 3, 8, 6}, {2, 5, 7, 4}, {9, 33, 25, 17}, {10, 34, 26, 18}, {11, 35, 27, 19}}]; L = Cycles[{{9, 11, 16, 14}, {10, 13, 15, 12}, {1, 17, 41, 40}, {4, 20, 44, 37}, {6, 22, 46, 35}}]; F = Cycles[{{17, 19, 24, 22}, {18, 21, 23, 20}, {6, 25, 43, 16}, {7, 28, 42, 13}, {8, 30, 41, 11}}]; R = Cycles[{{25, 27, 32, 30}, {26, 29, 31, 28}, {3, 38, 43, 19}, {5, 36, 45, 21}, {8, 33, 48, 24}}]; B = Cycles[{{33, 35, 40, 38}, {34, 37, 39, 36}, {3, 9, 46, 32}, {2, 12, 47, 29}, {1, 14, 48, 27}}]; H = Cycles[{{41, 43, 48, 46}, {42, 45, 47, 44}, {14, 22, 30, 38}, {15, 23, 31, 39}, {16, 24, 32, 40}}]; UH = Flatten[Table[PermutationProduct[PermutationPower[U, n], PermutationPower[H, m]], {n, 0, 3}, {m, 0, 3}]]; LR = Flatten[Table[PermutationProduct[PermutationPower[L, n], PermutationPower[R, m]], {n, 0, 3}, {m, 0, 3}]]; FB = Flatten[Table[PermutationProduct[PermutationPower[F, n], PermutationPower[B, m]], {n, 0, 3}, {m, 0, 3}]]; Perm1 = Delete[Union[Flatten[{UH, LR, FB}]], 1]; Step2 = Flatten[Table[PermutationProduct[Extract[Perm1, n], Extract[Perm1, m]], {n, 1, 45}, {m, 1, 45}]]; Length[Step2] 2025 Length[Union[Step2]] 1393 Length[Intersection[Union[Step2], Perm1]] 45 21

23 MemberQ[Union[Step2], Cycles[{}]] True RStep2 = Complement[Union[Step2], Union[Perm1, {Cycles[{}]}]]; Length[RStep2] 1347 Step3 = Flatten[Table[PermutationProduct[Extract[RStep2, n], Extract[Perm1, m]], {n, 1, Length[RStep2]}, {m, 1, 45}]]; RStep3 = Complement[Union[Step3], Union[Perm1, RStep2]]; Length[RStep3] Step4 = Flatten[Table[PermutationProduct[Extract[RStep3, n], Extract[Perm1, m]], {n, 1, Length[RStep3]}, {m, 1, 45}]]; RStep4 = Complement[Union[Step4], Union[RStep3, RStep2]]; Length[RStep4]

24 5.2 Reduction of 20-length FTM sequences Moves = Import[ C:\\Users\\Administrator\\Desktop\\Cube Explorer\\20moves.txt, list ]; Extract[Moves, {1}] U F U F L D F U R D2 F R2 D2 F2 U R2 U R F U2 (20f*) //C2(a){C2h(a)} MoveSequence = Table[Extract[Moves, n], {n, 1, 32625}]; Reduction[sq ]:= StringCount[MoveSequence, D U] + StringCount[MoveSequence, U D]+ StringCount[MoveSequence, F B] + StringCount[MoveSequence, B F]+ StringCount[MoveSequence, L R] + StringCount[MoveSequence, R L] Tally[Reduction[MoveSequence]] {{0, 19161}, {1, 10747}, {2, 2389}, {3, 308}, {4, 19}, {5, 1}} Histogram[Reduction[MoveSequence]] 23

25 References [1] David Joyner. The Man Who Found God s Number. The College Mathematics Journal (2014) [2] David Singmaster. Review: Rubik s Rubrics. American Scientist 91.5 (2003) [3] Ed Pegg Jr., Todd Rowland, and Eric W. Weisstein. Cayley Graph. From MathWorld A Wolfram Web Resource. [4] Edward C. Turner. Rubik s Groups. The American Mathematical Monthly 92.9 (1985) [5] Eric W. Weisstein. Recursive Sequence. From MathWorld A Wolfram Web Resource. [6] Hannah Provenza. Group Theroy and the Rubik s Cube. REUPapers/Provenza.pdf [7] Joseph A. Gallian. Contemporary Abstract Algebra, 8th ed. Boston: Brooks/Cole, [8] Ryan Heise. Rubik s Cube Theory. Parity [9] Rubik Cube Solution. RecPuzzlesArchive. 29 June Web. 27 Jan [10] Tomas Rokicki. God s Number Is [11] Tomas Rokicki. Towards God s Number for Rubik s Cube in the Quarter-Turn Metric. The College Mathematics Journal (2014) [12] Tomas Rokicki, Herbert Kociemba, Morley Davidson, and John Dethridge. The Diameter of the Rubik s Cube Group Is Twenty. SIAM Journal on Discrete Mathematics 27.2 (2013) [13] Superflip. - Speedsolving.com Wiki. Web. 14 Dec

Solving All 164,604,041,664 Symmetric Positions of the Rubik s Cube in the Quarter Turn Metric

Solving All 164,604,041,664 Symmetric Positions of the Rubik s Cube in the Quarter Turn Metric Solving All 164,604,041,664 Symmetric Positions of the Rubik s Cube in the Quarter Turn Metric Tomas Rokicki March 18, 2014 Abstract A difficult problem in computer cubing is to find positions that are

More information

Computers and the Cube. Tomas Rokicki () Computer Cubing 3 November / 71

Computers and the Cube. Tomas Rokicki () Computer Cubing 3 November / 71 Computers and the Cube Tomas Rokicki rokicki@gmail.com () Computer Cubing 3 November 2009 1 / 71 Computer Cubing Solving cube problems through programming: Graphical utilities Timers and practice software

More information

God's Number in the Simultaneously-Possible Turn Metric

God's Number in the Simultaneously-Possible Turn Metric University of Wisconsin Milwaukee UWM Digital Commons Theses and Dissertations 12-1-2017 God's Number in the Simultaneously-Possible Turn Metric Andrew James Gould University of Wisconsin-Milwaukee Follow

More information

Topspin: Oval-Track Puzzle, Taking Apart The Topspin One Tile At A Time

Topspin: Oval-Track Puzzle, Taking Apart The Topspin One Tile At A Time Salem State University Digital Commons at Salem State University Honors Theses Student Scholarship Fall 2015-01-01 Topspin: Oval-Track Puzzle, Taking Apart The Topspin One Tile At A Time Elizabeth Fitzgerald

More information

arxiv: v1 [cs.sc] 24 Mar 2008

arxiv: v1 [cs.sc] 24 Mar 2008 Twenty-Five Moves Suffice for Rubik s Cube Tomas Rokicki arxiv:0803.3435v1 [cs.sc] 24 Mar 2008 Abstract How many moves does it take to solve Rubik s Cube? Positions are known that require 20 moves, and

More information

Adventures with Rubik s UFO. Bill Higgins Wittenberg University

Adventures with Rubik s UFO. Bill Higgins Wittenberg University Adventures with Rubik s UFO Bill Higgins Wittenberg University Introduction Enro Rubik invented the puzzle which is now known as Rubik s Cube in the 1970's. More than 100 million cubes have been sold worldwide.

More information

Slicing a Puzzle and Finding the Hidden Pieces

Slicing a Puzzle and Finding the Hidden Pieces Olivet Nazarene University Digital Commons @ Olivet Honors Program Projects Honors Program 4-1-2013 Slicing a Puzzle and Finding the Hidden Pieces Martha Arntson Olivet Nazarene University, mjarnt@gmail.com

More information

Grade 7/8 Math Circles. Visual Group Theory

Grade 7/8 Math Circles. Visual Group Theory Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 7/8 Math Circles October 25 th /26 th Visual Group Theory Grouping Concepts Together We will start

More information

Part I: The Swap Puzzle

Part I: The Swap Puzzle Part I: The Swap Puzzle Game Play: Randomly arrange the tiles in the boxes then try to put them in proper order using only legal moves. A variety of legal moves are: Legal Moves (variation 1): Swap the

More information

arxiv: v1 [cs.cc] 21 Jun 2017

arxiv: v1 [cs.cc] 21 Jun 2017 Solving the Rubik s Cube Optimally is NP-complete Erik D. Demaine Sarah Eisenstat Mikhail Rudoy arxiv:1706.06708v1 [cs.cc] 21 Jun 2017 Abstract In this paper, we prove that optimally solving an n n n Rubik

More information

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees. 7 Symmetries 7 Permutations A permutation of a set is a reordering of its elements Another way to look at it is as a function Φ that takes as its argument a set of natural numbers of the form {, 2,, n}

More information

Grade 7/8 Math Circles. Visual Group Theory

Grade 7/8 Math Circles. Visual Group Theory Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 7/8 Math Circles October 25 th /26 th Visual Group Theory Grouping Concepts Together We will start

More information

THE 15-PUZZLE (AND RUBIK S CUBE)

THE 15-PUZZLE (AND RUBIK S CUBE) THE 15-PUZZLE (AND RUBIK S CUBE) KEITH CONRAD 1. Introduction A permutation puzzle is a toy where the pieces can be moved around and the object is to reassemble the pieces into their beginning state We

More information

A benchmark of algorithms for the Professor s Cube

A benchmark of algorithms for the Professor s Cube DEGREE PROJECT, IN COMPUTER SCIENCE, FIRST LEVEL STOCKHOLM, SWEDEN 2015 A benchmark of algorithms for the Professor s Cube MATTIAS DANIELSSON KTH ROYAL INSTITUTE OF TECHNOLOGY SCHOOL OF COMPUTER SCIENCE

More information

THE ASSOCIATION OF MATHEMATICS TEACHERS OF NEW JERSEY 2018 ANNUAL WINTER CONFERENCE FOSTERING GROWTH MINDSETS IN EVERY MATH CLASSROOM

THE ASSOCIATION OF MATHEMATICS TEACHERS OF NEW JERSEY 2018 ANNUAL WINTER CONFERENCE FOSTERING GROWTH MINDSETS IN EVERY MATH CLASSROOM THE ASSOCIATION OF MATHEMATICS TEACHERS OF NEW JERSEY 2018 ANNUAL WINTER CONFERENCE FOSTERING GROWTH MINDSETS IN EVERY MATH CLASSROOM CREATING PRODUCTIVE LEARNING ENVIRONMENTS WEDNESDAY, FEBRUARY 7, 2018

More information

Higher Mathematical Concepts Using the Rubik's Cube

Higher Mathematical Concepts Using the Rubik's Cube University of Tennessee, Knoxville Trace: Tennessee Research and Creative Exchange University of Tennessee Honors Thesis Projects University of Tennessee Honors Program Spring 5-2002 Higher Mathematical

More information

Math Circles: Graph Theory III

Math Circles: Graph Theory III Math Circles: Graph Theory III Centre for Education in Mathematics and Computing March 0, 013 1 Notation Consider a Rubik s cube, as shown in Figure 1. The letters U, F, R, L, B, and D shall refer respectively

More information

THE 15 PUZZLE AND TOPSPIN. Elizabeth Senac

THE 15 PUZZLE AND TOPSPIN. Elizabeth Senac THE 15 PUZZLE AND TOPSPIN Elizabeth Senac 4x4 box with 15 numbers Goal is to rearrange the numbers from a random starting arrangement into correct numerical order. Can only slide one block at a time. Definition:

More information

Lecture 2.3: Symmetric and alternating groups

Lecture 2.3: Symmetric and alternating groups Lecture 2.3: Symmetric and alternating groups Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4120, Modern Algebra M. Macauley (Clemson)

More information

A Mathematical Approach To Solving Rubik's Cube by Raymond Tran, UBC Math308 Fall 2005

A Mathematical Approach To Solving Rubik's Cube by Raymond Tran, UBC Math308 Fall 2005 A Mathematical Approach To Solving Rubik's Cube by Raymond Tran, UBC Math308 Fall 2005 History: ''We turn the Cube and it twists us.'' --Erno Rubik The Rubiks Cube is a cube consisting of 6 sides with

More information

Solving Megaminx puzzle With Group Theory 2018 S. Student Gerald Jiarong Xu Deerfield Academy 7 Boyden lane Deerfield MA Phone: (917) E

Solving Megaminx puzzle With Group Theory 2018 S. Student Gerald Jiarong Xu Deerfield Academy 7 Boyden lane Deerfield MA Phone: (917) E Solving Megaminx puzzle With Group Theory 2018 S. Student Gerald Jiarong Xu Deerfield Academy 7 Boyden lane Deerfield MA 01342 Phone: (917) 868-6058 Email: Gxu21@deerfield.edu Mentor David Xianfeng Gu

More information

Permutation Groups. Every permutation can be written as a product of disjoint cycles. This factorization is unique up to the order of the factors.

Permutation Groups. Every permutation can be written as a product of disjoint cycles. This factorization is unique up to the order of the factors. Permutation Groups 5-9-2013 A permutation of a set X is a bijective function σ : X X The set of permutations S X of a set X forms a group under function composition The group of permutations of {1,2,,n}

More information

Permutations. = f 1 f = I A

Permutations. = f 1 f = I A Permutations. 1. Definition (Permutation). A permutation of a set A is a bijective function f : A A. The set of all permutations of A is denoted by Perm(A). 2. If A has cardinality n, then Perm(A) has

More information

Permutation Groups. Definition and Notation

Permutation Groups. Definition and Notation 5 Permutation Groups Wigner s discovery about the electron permutation group was just the beginning. He and others found many similar applications and nowadays group theoretical methods especially those

More information

18.204: CHIP FIRING GAMES

18.204: CHIP FIRING GAMES 18.204: CHIP FIRING GAMES ANNE KELLEY Abstract. Chip firing is a one-player game where piles start with an initial number of chips and any pile with at least two chips can send one chip to the piles on

More information

Billions of Combinations, One Solution Meet Your Cube Twisting Hints RUBIK S Cube Sequences RUBIK S Cube Games...

Billions of Combinations, One Solution Meet Your Cube Twisting Hints RUBIK S Cube Sequences RUBIK S Cube Games... SOLUTION BOOKLET Billions of Combinations, One Solution...... 2 Meet Your Cube.................... 3 Twisting Hints..................... 6 RUBIK S Cube Sequences............... 9 RUBIK S Cube Games.................

More information

The mathematics of Septoku

The mathematics of Septoku The mathematics of Septoku arxiv:080.397v4 [math.co] Dec 203 George I. Bell gibell@comcast.net, http://home.comcast.net/~gibell/ Mathematics Subject Classifications: 00A08, 97A20 Abstract Septoku is a

More information

COUNTING THE NUMBER OF PERMUTATIONS IN RUBIK S CUBE

COUNTING THE NUMBER OF PERMUTATIONS IN RUBIK S CUBE COUNTING THE NUMBER OF PERMUTATIONS IN RUBIK S CUBE Rubik s cube is comprised of 54 facelets and 26 cublets. At first glance, you might think that the number of permutations we can make of the 54 facelets

More information

The first task is to make a pattern on the top that looks like the following diagram.

The first task is to make a pattern on the top that looks like the following diagram. Cube Strategy The cube is worked in specific stages broken down into specific tasks. In the early stages the tasks involve only a single piece needing to be moved and are simple but there are a multitude

More information

PUZZLES ON GRAPHS: THE TOWERS OF HANOI, THE SPIN-OUT PUZZLE, AND THE COMBINATION PUZZLE

PUZZLES ON GRAPHS: THE TOWERS OF HANOI, THE SPIN-OUT PUZZLE, AND THE COMBINATION PUZZLE PUZZLES ON GRAPHS: THE TOWERS OF HANOI, THE SPIN-OUT PUZZLE, AND THE COMBINATION PUZZLE LINDSAY BAUN AND SONIA CHAUHAN ADVISOR: PAUL CULL OREGON STATE UNIVERSITY ABSTRACT. The Towers of Hanoi is a well

More information

Solving the Rubik s Cube

Solving the Rubik s Cube Solving the Rubik s Cube The Math Behind the Cube: How many different combinations are possible on a 3x3 cube? There are 6 sides each with 9 squares giving 54 squares. Thus there will be 54 53 52 51 50

More information

I.M.O. Winter Training Camp 2008: Invariants and Monovariants

I.M.O. Winter Training Camp 2008: Invariants and Monovariants I.M.. Winter Training Camp 2008: Invariants and Monovariants n math contests, you will often find yourself trying to analyze a process of some sort. For example, consider the following two problems. Sample

More information

An Intuitive Approach to Groups

An Intuitive Approach to Groups Chapter An Intuitive Approach to Groups One of the major topics of this course is groups. The area of mathematics that is concerned with groups is called group theory. Loosely speaking, group theory is

More information

Rotational Puzzles on Graphs

Rotational Puzzles on Graphs Rotational Puzzles on Graphs On this page I will discuss various graph puzzles, or rather, permutation puzzles consisting of partially overlapping cycles. This was first investigated by R.M. Wilson in

More information

The Galaxy. Christopher Gutierrez, Brenda Garcia, Katrina Nieh. August 18, 2012

The Galaxy. Christopher Gutierrez, Brenda Garcia, Katrina Nieh. August 18, 2012 The Galaxy Christopher Gutierrez, Brenda Garcia, Katrina Nieh August 18, 2012 1 Abstract The game Galaxy has yet to be solved and the optimal strategy is unknown. Solving the game boards would contribute

More information

ECS 20 (Spring 2013) Phillip Rogaway Lecture 1

ECS 20 (Spring 2013) Phillip Rogaway Lecture 1 ECS 20 (Spring 2013) Phillip Rogaway Lecture 1 Today: Introductory comments Some example problems Announcements course information sheet online (from my personal homepage: Rogaway ) first HW due Wednesday

More information

Knots in a Cubic Lattice

Knots in a Cubic Lattice Knots in a Cubic Lattice Marta Kobiela August 23, 2002 Abstract In this paper, we discuss the composition of knots on the cubic lattice. One main theorem deals with finding a better upper bound for the

More information

Solving the Rubik s Cube Optimally is NP-complete

Solving the Rubik s Cube Optimally is NP-complete Solving the Rubik s Cube Optimally is NP-complete Erik D. Demaine MIT Computer Science and Artificial Intelligence Laboratory, 32 Vassar St., Cambridge, MA 02139, USA edemaine@mit.edu Sarah Eisenstat MIT

More information

12. 6 jokes are minimal.

12. 6 jokes are minimal. Pigeonhole Principle Pigeonhole Principle: When you organize n things into k categories, one of the categories has at least n/k things in it. Proof: If each category had fewer than n/k things in it then

More information

RAINBOW COLORINGS OF SOME GEOMETRICALLY DEFINED UNIFORM HYPERGRAPHS IN THE PLANE

RAINBOW COLORINGS OF SOME GEOMETRICALLY DEFINED UNIFORM HYPERGRAPHS IN THE PLANE 1 RAINBOW COLORINGS OF SOME GEOMETRICALLY DEFINED UNIFORM HYPERGRAPHS IN THE PLANE 1 Introduction Brent Holmes* Christian Brothers University Memphis, TN 38104, USA email: bholmes1@cbu.edu A hypergraph

More information

Odd king tours on even chessboards

Odd king tours on even chessboards Odd king tours on even chessboards D. Joyner and M. Fourte, Department of Mathematics, U. S. Naval Academy, Annapolis, MD 21402 12-4-97 In this paper we show that there is no complete odd king tour on

More information

An Efficient Implementation of Tower of Hanoi using Gray Codes

An Efficient Implementation of Tower of Hanoi using Gray Codes GRD Journals Global Research and Development Journal for Engineering National Conference on Computational Intelligence Systems (NCCIS 17) March 2017 e-issn: 2455-5703 An Efficient Implementation of Tower

More information

Solving the Rubik s Cube

Solving the Rubik s Cube the network Solving the Rubik s Cube Introduction Hungarian sculptor and professor of architecture Ernö Rubik invented the Rubik s Cube in 1974. When solved, each side of the Rubik s Cube is a different

More information

A Memory-Efficient Method for Fast Computation of Short 15-Puzzle Solutions

A Memory-Efficient Method for Fast Computation of Short 15-Puzzle Solutions A Memory-Efficient Method for Fast Computation of Short 15-Puzzle Solutions Ian Parberry Technical Report LARC-2014-02 Laboratory for Recreational Computing Department of Computer Science & Engineering

More information

Modeling a Rubik s Cube in 3D

Modeling a Rubik s Cube in 3D Modeling a Rubik s Cube in 3D Robert Kaucic Math 198, Fall 2015 1 Abstract Rubik s Cubes are a classic example of a three dimensional puzzle thoroughly based in mathematics. In the trigonometry and geometry

More information

The Place of Group Theory in Decision-Making in Organizational Management A case of 16- Puzzle

The Place of Group Theory in Decision-Making in Organizational Management A case of 16- Puzzle IOSR Journal of Mathematics (IOSR-JM) e-issn: 2278-5728,p-ISSN: 2319-765X, Volume 7, Issue 6 (Sep. - Oct. 2013), PP 17-22 The Place of Group Theory in Decision-Making in Organizational Management A case

More information

Olympiad Combinatorics. Pranav A. Sriram

Olympiad Combinatorics. Pranav A. Sriram Olympiad Combinatorics Pranav A. Sriram August 2014 Chapter 2: Algorithms - Part II 1 Copyright notices All USAMO and USA Team Selection Test problems in this chapter are copyrighted by the Mathematical

More information

Chapter 1. The alternating groups. 1.1 Introduction. 1.2 Permutations

Chapter 1. The alternating groups. 1.1 Introduction. 1.2 Permutations Chapter 1 The alternating groups 1.1 Introduction The most familiar of the finite (non-abelian) simple groups are the alternating groups A n, which are subgroups of index 2 in the symmetric groups S n.

More information

Tilings with T and Skew Tetrominoes

Tilings with T and Skew Tetrominoes Quercus: Linfield Journal of Undergraduate Research Volume 1 Article 3 10-8-2012 Tilings with T and Skew Tetrominoes Cynthia Lester Linfield College Follow this and additional works at: http://digitalcommons.linfield.edu/quercus

More information

Chapter 2: Cayley graphs

Chapter 2: Cayley graphs Chapter 2: Cayley graphs Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4120, Spring 2014 M. Macauley (Clemson) Chapter 2: Cayley graphs

More information

Group Theory and the Rubik s Cube

Group Theory and the Rubik s Cube Group Theory and the Rubik s Cube Robert A. Beeler, Ph.D. East Tennessee State University October 31, 2017 Robert A. Beeler, Ph.D. (East Tennessee State University Group Theory ) and the Rubik s Cube October

More information

Greedy Flipping of Pancakes and Burnt Pancakes

Greedy Flipping of Pancakes and Burnt Pancakes Greedy Flipping of Pancakes and Burnt Pancakes Joe Sawada a, Aaron Williams b a School of Computer Science, University of Guelph, Canada. Research supported by NSERC. b Department of Mathematics and Statistics,

More information

The number of mates of latin squares of sizes 7 and 8

The number of mates of latin squares of sizes 7 and 8 The number of mates of latin squares of sizes 7 and 8 Megan Bryant James Figler Roger Garcia Carl Mummert Yudishthisir Singh Working draft not for distribution December 17, 2012 Abstract We study the number

More information

Asymptotic behaviour of permutations avoiding generalized patterns

Asymptotic behaviour of permutations avoiding generalized patterns Asymptotic behaviour of permutations avoiding generalized patterns Ashok Rajaraman 311176 arajaram@sfu.ca February 19, 1 Abstract Visualizing permutations as labelled trees allows us to to specify restricted

More information

Some combinatorial applications of Sage, an open source program

Some combinatorial applications of Sage, an open source program Scholars' Mine Masters Theses Student Research & Creative Works Spring 2015 Some combinatorial applications of Sage, an open source program Jessica Ruth Chowning Follow this and additional works at: http://scholarsmine.mst.edu/masters_theses

More information

PROOFS OF SOME BINOMIAL IDENTITIES USING THE METHOD OF LAST SQUARES

PROOFS OF SOME BINOMIAL IDENTITIES USING THE METHOD OF LAST SQUARES PROOFS OF SOME BINOMIAL IDENTITIES USING THE METHOD OF LAST SQUARES MARK SHATTUCK AND TAMÁS WALDHAUSER Abstract. We give combinatorial proofs for some identities involving binomial sums that have no closed

More information

Rubik 4x4x4 "Revenge"

Rubik 4x4x4 Revenge Rubik 4x4x4 "Revenge" a.k.a. Rubik's Master Cube "Rubik's Revenge"; Patented by P. Sebesteny 1983. (plastic, 2.5 inches) D-FantiX 4x4x4 Stickerless; purchased from Amazon.com, 2017. (plastic, 2.3 inches)

More information

MATH302: Mathematics & Computing Permutation Puzzles: A Mathematical Perspective

MATH302: Mathematics & Computing Permutation Puzzles: A Mathematical Perspective COURSE OUTLINE Fall 2016 MATH302: Mathematics & Computing Permutation Puzzles: A Mathematical Perspective General information Course: MATH302: Mathematics & Computing Permutation Puzzles: A Mathematical

More information

Heuristic Search with Pre-Computed Databases

Heuristic Search with Pre-Computed Databases Heuristic Search with Pre-Computed Databases Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 Abstract Use pre-computed partial results to improve the efficiency of heuristic

More information

Rubik s Cube Extended: Derivation of Number of States for Cubes of Any Size and Values for up to Size 25x25x25

Rubik s Cube Extended: Derivation of Number of States for Cubes of Any Size and Values for up to Size 25x25x25 Rubik s Cube Extended: Derivation of Number of States for Cubes of Any Size and Values for up to Size 25x25x25 by Ken F. Fraser 1 Date of original document: 26 October 1991 Date of this revision: 12 February

More information

CS 32 Puzzles, Games & Algorithms Fall 2013

CS 32 Puzzles, Games & Algorithms Fall 2013 CS 32 Puzzles, Games & Algorithms Fall 2013 Study Guide & Scavenger Hunt #2 November 10, 2014 These problems are chosen to help prepare you for the second midterm exam, scheduled for Friday, November 14,

More information

Algorithms for solving rubik's cubes

Algorithms for solving rubik's cubes Algorithms for solving rubik's cubes The MIT Faculty has made this article openly available. Please share how this access benefits you. Your story matters. Citation As Published Publisher Demaine, Erik

More information

X = {1, 2,...,n} n 1f 2f 3f... nf

X = {1, 2,...,n} n 1f 2f 3f... nf Section 11 Permutations Definition 11.1 Let X be a non-empty set. A bijective function f : X X will be called a permutation of X. Consider the case when X is the finite set with n elements: X {1, 2,...,n}.

More information

Combinatorics and Intuitive Probability

Combinatorics and Intuitive Probability Chapter Combinatorics and Intuitive Probability The simplest probabilistic scenario is perhaps one where the set of possible outcomes is finite and these outcomes are all equally likely. A subset of the

More information

Symmetry Groups of Platonic Solids

Symmetry Groups of Platonic Solids Symmetry Groups of Platonic Solids Rich Schwartz September 17, 2007 The purpose of this handout is to discuss the symmetry groups of Platonic solids. 1 Basic Definitions Let R 3 denote 3-dimensional space.

More information

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 11

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 11 EECS 70 Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 11 Counting As we saw in our discussion for uniform discrete probability, being able to count the number of elements of

More information

Edge-disjoint tree representation of three tree degree sequences

Edge-disjoint tree representation of three tree degree sequences Edge-disjoint tree representation of three tree degree sequences Ian Min Gyu Seong Carleton College seongi@carleton.edu October 2, 208 Ian Min Gyu Seong (Carleton College) Trees October 2, 208 / 65 Trees

More information

Solving the 4 x 4 Cube

Solving the 4 x 4 Cube Solving the 4 x 4 Cube How to Reference and Talk About the Cube: Like the 3 x 3 cube, we will refer to three main types of pieces centers (4 per side), edges (2 per edge) and corners. The main approach

More information

All Levels. Solving the Rubik s Cube

All Levels. Solving the Rubik s Cube Solving the Rubik s Cube All Levels Common Core: Objectives: Mathematical Practice Standards: 1. Make sense of problems and persevere in solving them. 2. Reason abstractly and quantitatively. 3. Construct

More information

Playing with Permutations: Examining Mathematics in Children s Toys

Playing with Permutations: Examining Mathematics in Children s Toys Western Oregon University Digital Commons@WOU Honors Senior Theses/Projects Student Scholarship -0 Playing with Permutations: Examining Mathematics in Children s Toys Jillian J. Johnson Western Oregon

More information

THE use of balanced codes is crucial for some information

THE use of balanced codes is crucial for some information A Construction for Balancing Non-Binary Sequences Based on Gray Code Prefixes Elie N. Mambou and Theo G. Swart, Senior Member, IEEE arxiv:70.008v [cs.it] Jun 07 Abstract We introduce a new construction

More information

Techniques for Generating Sudoku Instances

Techniques for Generating Sudoku Instances Chapter Techniques for Generating Sudoku Instances Overview Sudoku puzzles become worldwide popular among many players in different intellectual levels. In this chapter, we are going to discuss different

More information

A GRAPH THEORETICAL APPROACH TO SOLVING SCRAMBLE SQUARES PUZZLES. 1. Introduction

A GRAPH THEORETICAL APPROACH TO SOLVING SCRAMBLE SQUARES PUZZLES. 1. Introduction GRPH THEORETICL PPROCH TO SOLVING SCRMLE SQURES PUZZLES SRH MSON ND MLI ZHNG bstract. Scramble Squares puzzle is made up of nine square pieces such that each edge of each piece contains half of an image.

More information

Know how to represent permutations in the two rowed notation, and how to multiply permutations using this notation.

Know how to represent permutations in the two rowed notation, and how to multiply permutations using this notation. The third exam will be on Monday, November 21, 2011. It will cover Sections 5.1-5.5. Of course, the material is cumulative, and the listed sections depend on earlier sections, which it is assumed that

More information

Notes for Recitation 3

Notes for Recitation 3 6.042/18.062J Mathematics for Computer Science September 17, 2010 Tom Leighton, Marten van Dijk Notes for Recitation 3 1 State Machines Recall from Lecture 3 (9/16) that an invariant is a property of a

More information

arxiv: v1 [math.gt] 21 Mar 2018

arxiv: v1 [math.gt] 21 Mar 2018 Space-Efficient Knot Mosaics for Prime Knots with Mosaic Number 6 arxiv:1803.08004v1 [math.gt] 21 Mar 2018 Aaron Heap and Douglas Knowles June 24, 2018 Abstract In 2008, Kauffman and Lomonaco introduce

More information

Universal Cycles for Permutations Theory and Applications

Universal Cycles for Permutations Theory and Applications Universal Cycles for Permutations Theory and Applications Alexander Holroyd Microsoft Research Brett Stevens Carleton University Aaron Williams Carleton University Frank Ruskey University of Victoria Combinatorial

More information

Graphs of Tilings. Patrick Callahan, University of California Office of the President, Oakland, CA

Graphs of Tilings. Patrick Callahan, University of California Office of the President, Oakland, CA Graphs of Tilings Patrick Callahan, University of California Office of the President, Oakland, CA Phyllis Chinn, Department of Mathematics Humboldt State University, Arcata, CA Silvia Heubach, Department

More information

n r for the number. (n r)!r!

n r for the number. (n r)!r! Throughout we use both the notations ( ) n r and C n n! r for the number (n r)!r! 1 Ten points are distributed around a circle How many triangles have all three of their vertices in this 10-element set?

More information

Rubik's 3x3x3 Cube. Patent filed by Erno Rubik 1975, sold by Ideal Toys in the 1980's. (plastic with colored stickers, 2.2"; keychain 1.

Rubik's 3x3x3 Cube. Patent filed by Erno Rubik 1975, sold by Ideal Toys in the 1980's. (plastic with colored stickers, 2.2; keychain 1. Rubik's 3x3x3 Cube Patent filed by Erno Rubik 1975, sold by Ideal Toys in the 1980's. (plastic with colored stickers, 2.2"; keychain 1.2") The original twisty cube. Difficult, but fun to play with. One

More information

Recent Progress in the Design and Analysis of Admissible Heuristic Functions

Recent Progress in the Design and Analysis of Admissible Heuristic Functions From: AAAI-00 Proceedings. Copyright 2000, AAAI (www.aaai.org). All rights reserved. Recent Progress in the Design and Analysis of Admissible Heuristic Functions Richard E. Korf Computer Science Department

More information

Crossing Game Strategies

Crossing Game Strategies Crossing Game Strategies Chloe Avery, Xiaoyu Qiao, Talon Stark, Jerry Luo March 5, 2015 1 Strategies for Specific Knots The following are a couple of crossing game boards for which we have found which

More information

Objectives. Materials

Objectives. Materials . Objectives Activity 8 To plot a mathematical relationship that defines a spiral To use technology to create a spiral similar to that found in a snail To use technology to plot a set of ordered pairs

More information

Wythoff s Game. Kimberly Hirschfeld-Cotton Oshkosh, Nebraska

Wythoff s Game. Kimberly Hirschfeld-Cotton Oshkosh, Nebraska Wythoff s Game Kimberly Hirschfeld-Cotton Oshkosh, Nebraska In partial fulfillment of the requirements for the Master of Arts in Teaching with a Specialization in the Teaching of Middle Level Mathematics

More information

SUDOKU Colorings of the Hexagonal Bipyramid Fractal

SUDOKU Colorings of the Hexagonal Bipyramid Fractal SUDOKU Colorings of the Hexagonal Bipyramid Fractal Hideki Tsuiki Kyoto University, Sakyo-ku, Kyoto 606-8501,Japan tsuiki@i.h.kyoto-u.ac.jp http://www.i.h.kyoto-u.ac.jp/~tsuiki Abstract. The hexagonal

More information

On uniquely k-determined permutations

On uniquely k-determined permutations On uniquely k-determined permutations Sergey Avgustinovich and Sergey Kitaev 16th March 2007 Abstract Motivated by a new point of view to study occurrences of consecutive patterns in permutations, we introduce

More information

Reflections on the N + k Queens Problem

Reflections on the N + k Queens Problem Integre Technical Publishing Co., Inc. College Mathematics Journal 40:3 March 12, 2009 2:02 p.m. chatham.tex page 204 Reflections on the N + k Queens Problem R. Douglas Chatham R. Douglas Chatham (d.chatham@moreheadstate.edu)

More information

2. Nine points are distributed around a circle in such a way that when all ( )

2. Nine points are distributed around a circle in such a way that when all ( ) 1. How many circles in the plane contain at least three of the points (0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0), (2, 1), (2, 2)? Solution: There are ( ) 9 3 = 8 three element subsets, all

More information

9.5 Counting Subsets of a Set: Combinations. Answers for Test Yourself

9.5 Counting Subsets of a Set: Combinations. Answers for Test Yourself 9.5 Counting Subsets of a Set: Combinations 565 H 35. H 36. whose elements when added up give the same sum. (Thanks to Jonathan Goldstine for this problem. 34. Let S be a set of ten integers chosen from

More information

Exploring Concepts with Cubes. A resource book

Exploring Concepts with Cubes. A resource book Exploring Concepts with Cubes A resource book ACTIVITY 1 Gauss s method Gauss s method is a fast and efficient way of determining the sum of an arithmetic series. Let s illustrate the method using the

More information

((( ))) CS 19: Discrete Mathematics. Please feel free to ask questions! Getting into the mood. Pancakes With A Problem!

((( ))) CS 19: Discrete Mathematics. Please feel free to ask questions! Getting into the mood. Pancakes With A Problem! CS : Discrete Mathematics Professor Amit Chakrabarti Please feel free to ask questions! ((( ))) Teaching Assistants Chien-Chung Huang David Blinn http://www.cs cs.dartmouth.edu/~cs Getting into the mood

More information

Tile Number and Space-Efficient Knot Mosaics

Tile Number and Space-Efficient Knot Mosaics Tile Number and Space-Efficient Knot Mosaics Aaron Heap and Douglas Knowles arxiv:1702.06462v1 [math.gt] 21 Feb 2017 February 22, 2017 Abstract In this paper we introduce the concept of a space-efficient

More information

SOLITAIRE CLOBBER AS AN OPTIMIZATION PROBLEM ON WORDS

SOLITAIRE CLOBBER AS AN OPTIMIZATION PROBLEM ON WORDS INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 8 (2008), #G04 SOLITAIRE CLOBBER AS AN OPTIMIZATION PROBLEM ON WORDS Vincent D. Blondel Department of Mathematical Engineering, Université catholique

More information

Checkpoint Questions Due Monday, October 7 at 2:15 PM Remaining Questions Due Friday, October 11 at 2:15 PM

Checkpoint Questions Due Monday, October 7 at 2:15 PM Remaining Questions Due Friday, October 11 at 2:15 PM CS13 Handout 8 Fall 13 October 4, 13 Problem Set This second problem set is all about induction and the sheer breadth of applications it entails. By the time you're done with this problem set, you will

More information

The Sign of a Permutation Matt Baker

The Sign of a Permutation Matt Baker The Sign of a Permutation Matt Baker Let σ be a permutation of {1, 2,, n}, ie, a one-to-one and onto function from {1, 2,, n} to itself We will define what it means for σ to be even or odd, and then discuss

More information

Enumeration of Two Particular Sets of Minimal Permutations

Enumeration of Two Particular Sets of Minimal Permutations 3 47 6 3 Journal of Integer Sequences, Vol. 8 (05), Article 5.0. Enumeration of Two Particular Sets of Minimal Permutations Stefano Bilotta, Elisabetta Grazzini, and Elisa Pergola Dipartimento di Matematica

More information

Section 8.1. Sequences and Series

Section 8.1. Sequences and Series Section 8.1 Sequences and Series Sequences Definition A sequence is a list of numbers. Definition A sequence is a list of numbers. A sequence could be finite, such as: 1, 2, 3, 4 Definition A sequence

More information

28,800 Extremely Magic 5 5 Squares Arthur Holshouser. Harold Reiter.

28,800 Extremely Magic 5 5 Squares Arthur Holshouser. Harold Reiter. 28,800 Extremely Magic 5 5 Squares Arthur Holshouser 3600 Bullard St. Charlotte, NC, USA Harold Reiter Department of Mathematics, University of North Carolina Charlotte, Charlotte, NC 28223, USA hbreiter@uncc.edu

More information

Exploiting the disjoint cycle decomposition in genome rearrangements

Exploiting the disjoint cycle decomposition in genome rearrangements Exploiting the disjoint cycle decomposition in genome rearrangements Jean-Paul Doignon Anthony Labarre 1 doignon@ulb.ac.be alabarre@ulb.ac.be Université Libre de Bruxelles June 7th, 2007 Ordinal and Symbolic

More information

A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP

A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 6 (2006), #A31 A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP Shinji Tanimoto Department of Mathematics, Kochi Joshi University

More information