Wiris

Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • CalcMe
                        • Commands
                        • Combinatorics and Progressions
                        • Combinatorics and Progressions

                        Sign

                        Reading time: 1min

                        Nota

                        Working with numbers? See Sign (Arithmetic).

                        Returns the sign or parity of a permutation. It can be defined as the parity of pairs of elements x,y such that x<y and σ(x)>σ(y). Thus, the sign is +1 is σ is even or -1 if it is odd. Alternatively, the sign of a permutation can be defined from its decomposition into the product of transpositions as , where m is the number of transpositions in the decomposition (although such decomposition is not unique, the parity is an invariant).

                        Syntax

                        sign(Permutation)
                        

                        Description

                        Given a permutation, returns its sign.

                        Was this article helpful?

                        Give feedback about this article

                        Related Articles

                        • Arithmetic
                        • Binomial
                        • Category
                        • Combinations
                        • Combinations with repetition

                        Sign

                        Nota Syntax Description

                        Empowering STEM education

                        MathType

                        • Office Tools
                        • LMS
                        • XML
                        • HTML

                        WirisQuizzes

                        Learning Lemur

                        Integrations

                        Solutions

                        • Education
                        • Publishing houses – platforms and interactive
                        • Publishing houses – Print and digital
                        • Technical writers

                        Pricing

                        Downloads

                        Blog

                        • Success stories

                        About us

                        • Careers
                        • Partnership

                        Contact Us

                        Contact Sales

                        European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Cookie Settings

                        © Wiris 2026

                        Expand