-
MathType
-
Wiris Quizzes
-
Learning Lemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
Combinations with repetition
Reading time: 1minComputes the number of ways to choose k elements among n, allowing repetitions.
Syntax
combinations_with_repetition(Integer, Integer)
combinations_with_repetition(List | Vector, Integer)
Description
Given two integers n and k, returns the number of ways to choose k elements among n, allowing repetitions.
Given a list or vector L and an integer k, returns a list with all the possible ways to choose k element among L, allowing repetition.