With repetition

Combination generator with repetition.

Use combinations with repetition when a result is allowed to contain the same item more than once.

Enable repeat values

In ComboKit Studio, turn on “Allow repeats inside a result” to include rows such as 1 · 1 or A · A.

Open the generator

Example

If the source values are A, B, C and the group size is 2, combinations with repetition include:

A · A
A · B
A · C
B · B
B · C
C · C

Order still does not matter, so A · B and B · A are treated as the same combination.

When to use repetition

  • Building codes where a digit or character may appear multiple times.
  • Creating classroom examples for combinations with replacement.
  • Testing systems that accept repeated categories or repeated input values.

Why the result count grows

Allowing repetition increases the number of possible rows because each position has more valid choices. Always check the exact result count before generating a large output.

Related pages