s import PermutationGroup

    The permutations corresponding to motion of the front, right and
    bottom face of a 2x2 Rubik's cube are defined:

    >>> F = Permutation(2, 19, 21, 8)(3, 17, 20, 10)(4, 6, 7, 5)
    >>> R = Permutation(1, 5, 21, 14)(3, 7, 23, 12)(8, 10, 11, 9)
    >>> D = Permutation(6, 18, 14, 10)(7, 19, 15, 11)(20, 22, 23, 21)

    These are passed as permutations to PermutationGroup:

    >>> G = PermutationGroup(F, R, D)
    >>> G.order()
    3674160

    The group can be supplied to a Polyhedron in order to track the
    objects being moved. An example involving the 2x2 Rubik's cube is
    given there, but here is a simple demonstration:

    >>> a = Permutation(2, 1)
    >>> b = Permutation(1, 0)
    >>> G = PermutationGroup(a, b)
    >>> P = Polyhedron(list('ABC'), pgroup=G)
    >>> P.corners
    (A, B, C)
    >>> P.rotate(0) # apply permutation 0
    >>> P.corners
    (A, C, B)
    >>> P.reset()
    >>> P.corners
    (A, B, C)

    Or one can make a permutation as a product of selected permutations
    and apply them to an iterable directly:

    >>> P10 = G.make_perm([0, 1])
    >>> P10('ABC')
    ['C', 'A', 'B']

    See Also
    ========

    sympy.combinatorics.polyhedron.Polyhedron,
    sympy.combinatorics.permutations.Permutation

    References
    ==========

    [1] Holt, D., Eick, B., O'Brien, E.
    "Handbook of Computational Group Theory"

    [2] Seress, A.
    "Permutation Group Algorithms"

    [3] http://en.wikipedia.org/wiki/Schreier_vector

    [4] http://en.wikipedia.org/wiki/Nielsen_transformation
    #Product_replacement_algorithm

    [5] Frank Celler, Charles R.Leedham-Green, Scott H.Murray,
    Alice C.Niemeyer, and E.A.O'Brien. "Generating Random
    Elements of a Finite Group"

    [6] http://en.wikipedia.org/wiki/Block_%28permutation_group_theory%29

    [7] http://www.algorithmist.com/index.php/Union_Find

    [8] http://en.wikipedia.org/wiki/Multiply_transitive_group#Multiply_transitive_groups

    [9] http://en.wikipedia.org/wiki/Center_%28group_theory%29

    [10] http://en.wikipedia.org/wiki/Centralizer_and_normalizer

    [11] http://groupprops.subwiki.org/wiki/Derived_subgroup

    [12] http://en.wikipedia.org/wiki/Nilpotent_group

    [13] http://www.math.colostate.edu/~hulpke/CGT/cgtnotes.pdf

    Tc