On Thu, Aug 30, 2012 at 11:47 AM, Chris Smith <smi...@gmail.com> wrote:
>>
>>>>> F = Permutation([(17,19,24,22),(18,21,23,20),( 6,25,43,16),( 
>>>>> 7,28,42,13),( 8,30,41,11)],  size=49)
>>>>> B = Permutation([(33,35,40,38),(34,37,39,36),( 3, 9,46,32),( 
>>>>> 2,12,47,29),( 1,14,48,27)],  size=49)
>>>>> L = Permutation([( 9,11,16,14),(10,13,15,12),( 1,17,41,40),( 
>>>>> 4,20,44,37),( 6,22,46,35)],  size=49)
>>>>> R = Permutation([ (25,27,32,30),(26,29,31,28),( 3,38,43,19),( 
>>>>> 5,36,45,21),( 8,33,48,24)],  size=49)
>>>>> U = Permutation([ ( 1, 3, 8, 6),( 2, 5, 7, 4),( 
>>>>> 9,33,25,17),(10,34,26,18),(11,35,27,19)],  size=49)
>>>>> D = Permutation([ 
>>>>> (41,43,48,46),(42,45,47,44),(14,22,30,38),(15,23,31,39),(16,24,32,40)],  
>>>>> size=49)
>>>>> G = PermutationGroup([F,B,L,R,U,D])
>>>>> G.order()
>> 43252003274489856000
>>>>> Z = G.center()
>>>>> Z.order()
>> 2
>
>
> I see you used the "extra 0" form -- at least I assume that's why you
> used 49 instead of 48. When I did this, the only test that failed as
> G.orbits(rep=True) which came back as [0, 1, 2] instead of [0,
> 1]...I'm not sure what that means except that [1, 2] is the same as
> [0, 1] but shifted up 1 because of the extra 0?

Yes, I was just to lazy to do the shift myself. Really, it is better to have the
shift, as you did in an earlier email. BTW, thanks for showing me the
rubik_cube_generators() function. I didn't know about that!


>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To post to this group, send email to sympy@googlegroups.com.
> To unsubscribe from this group, send email to 
> sympy+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/sympy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to