len(CyclicPermutations(range(6)).list())
# you can visualise the arrangements by CyclicPermutations(range(6)).list(). Assume each digit to be a person

SageDays/Kreyszig-22.4-10 (last edited 2010-08-12 13:49:42 by Abhi-akash)