Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

permutation_order function

The order of a permutation: the least power that is the identity.

How to write it

permutation_order(p)

p
A permutation, written as the list of where 1, 2, 3 and so on go. Takes a list.

Examples

  • permutation_order⁡([2,1,3])=2\displaystyle \operatorname{permutation\_order}(\left[ 2, 1, 3 \right]) = 2
    permutation_order([2, 1, 3])

    In the solver, permutation_order([2, 1, 3]) gives 2.

    Open in the solver