Tool to generate arrangements with repetitions. In Mathematics, a arrangement with repetitions is a arrangements of items which can be repeated.
Arrangements with Repetition - dCode
Tag(s) : Combinatorics
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Item arrangements with repetition (also called k-permutations with repetition) are the list of all possible arrangements of elements (each can be repeated) in any order.
Example: X,Y,Z items be shuffled in 9 couples of 2 items: X,X X,Y X,Z Y,X Y,Y Y,Z, Z,X, Z,Y, Z,Z. The order of the items do not matter.
Sets of $ n $ items are called tuples or n-uplets.
Counting repeated arrangements of $ k $ items in a list of $ N $ is $ N^k $
The calculations of arrangements increase exponentially and quickly require large computing servers, so the free generations are limited.
In mathematics, the Cartesian product of N identical sets is the name given the generation of arrangements with repetitions of 2 elements among N.
Example: {1, 2, 3} x {1, 2, 3} returns the set of 9 arrangements: (1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)
dCode retains ownership of the "Arrangements with Repetition" source code. Any algorithm for the "Arrangements with Repetition" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Arrangements with Repetition" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Arrangements with Repetition" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Arrangements with Repetition" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Arrangements with Repetition on dCode.fr [online website], retrieved on 2025-04-16,