Nxn rubik's cube - how many orientations?

  • Context: Graduate 
  • Thread starter Thread starter DyslexicHobo
  • Start date Start date
  • Tags Tags
    Cube
Click For Summary

Discussion Overview

The discussion revolves around the question of how many possible orientations exist for an nxnxn Rubik's cube, particularly focusing on the complexities introduced by different cube sizes, including the 5x5x5 cube. Participants explore the mathematical formulations and constraints related to physically achievable orientations.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant outlines a method for calculating orientations based on the positions and orientations of corners and sides, but acknowledges the challenge of excluding physically impossible configurations.
  • Another participant provides a specific large number as a potential answer for the 5x5x5 cube, referencing an online sequence but notes a possible error in the offset.
  • A different participant shares a mathematical function for calculating orientations, indicating that the process is more complex than initially thought, especially for even-numbered cubes.
  • Further clarification is provided with a translation of the mathematical function into a different programming language, highlighting the complexity of the calculations involved.

Areas of Agreement / Disagreement

Participants express uncertainty regarding the total number of orientations and the methods to calculate them, with no consensus reached on a definitive answer or approach.

Contextual Notes

Participants mention the need to account for physical constraints in the cube's orientation, indicating that certain configurations are not possible, which complicates the calculations. The discussion also highlights the differences in complexity between odd and even-sized cubes.

DyslexicHobo
Messages
249
Reaction score
0
I'm sitting here with my new 5x5x5 rubik's cube, and I was just wondering how many possible orientations there were. I THOUGHT:
-Each corner has 3 orientations and 8 positions
-Each middle side has 2 orientations and 12 positions
-Each outer side has 2 orientations and 24 positions
-etc etc for each piece
-multiply each possible position and orientation together

However, I know that certain orientations are not physically possible to achieve. For example, you can't have a solved cube with only one corner with a different orientation. I'm not sure how to exclude these when trying to account for all physically possible orientations.


So my question: what is the total number of different ways a nxnxn rubik's cube can be presented assuming that with normal rotations of a rubik's cube, it can be solved. I tried generalizing it by looking at a 1x1x1 cube and 2x2x2 cube, but I'm still really lost.
 
Mathematics news on Phys.org
It's a complicated question. I think the answer is http://www.research.att.com/~njas/sequences/A075152 (5) = 282870942277741856536180333107150328293127731985672134721536000000000000000.

(The offset seems to be wrong -- maybe I should email Dr. Sloane on this one!)
 
Last edited by a moderator:
Yeah, I saw that number when browsing around google. That's an interesting function though. Looks even more difficult for even numbered cubes.

Code:
f := proc(n) local A, B, C, D, E, F, G; 
if n mod 2 = 1 then 
A := (n-1)/2; F := 0; B := 1; C := 1; D := 0; E := (n+1)*(n-3)/4; G := (n-1)*(n-3)/4; 

else A := n/2; F := 1; B := 1; C := 0; D := 0; E := n*(n-2)/4; G := (n-2)^2/4; fi; (2^A*((8!/2)*3^7)^B*((12!/2)*2^11)^C*((4^6)/2)^D*(24!/2)^E)/(24^F*((24^6)/2)^G); 

end;

I don't really understand the syntax, let alone the mathematics behind it, but thanks for the link. I guess it's a more complicated process than I thought.
 
DyslexicHobo said:
I don't really understand the syntax, let alone the mathematics behind it, but thanks for the link. I guess it's a more complicated process than I thought.

Here's a fairly straightforward translation into Pari:
Code:
cube(n)={
	local(A, C, E, F, G);
	A = n >> 1;
	if(n%2,
		F = 0; C = 1; E = (n+1)*(n-3)/4; G = (n-1)*(n-3)/4;
	,
		F = 1; C = 0; E = n*(n-2)/4; G = (n-2)^2/4;
	);
	(2^A*((8!/2)*3^7)*((12!/2)*2^11)^C*(24!/2)^E)/(24^F*((24^6)/2)^G)
}

The first indented block sets up variables for n odd, the second for n even. The final result is the line starting "(2^A".
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 10 ·
Replies
10
Views
1K
Replies
14
Views
3K
  • · Replies 18 ·
Replies
18
Views
6K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
13K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K