Wiris

Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

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

                      Double factorial

                      Reading time: 1min

                      The double factorial of a non-negative integer n, denoted by n!!, is defined as the product of all integers between 1 and n that have the same parity as n:

                      n!!=n·(n-2)·(n-4)⋯4·2if n is even

                      n·(n-2)·(n-4)⋯3·1if n is odd

                      0!!=1 by convention.

                      Syntax

                      Integer!!
                      

                      Description

                      Given an integer between 1 and 65535, returns n!!.

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • Maclaurin
                      • Taylor
                      • Power modulo
                      • Variations with repetition

                      Double factorial

                      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