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

                        Variations with repetition

                        Reading time: 1min

                        Variations with repetition are the different ordered arrangements of a k-element subset of an n-set, allowing repetitions.

                        Syntax

                        variations_with_repetition(Integer, Integer)
                        
                        variations_with_repetition(List | Vector, Integer)
                        

                        Description

                        Given two integers n and k, computes all possible arrangements described above.

                        Given a list and a vector with n elements, returns a list with all the k-subsets.

                        Was this article helpful?

                        Give feedback about this article

                        Related Articles

                        • Expansion point
                        • Integrate
                        • Interpolate
                        • Identity?

                        Variations with repetition

                        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