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,XX,YX,ZY,XY,YY,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.

How to count arrangements with repetition?

Counting repeated arrangements of $ k $ items in a list of $ N $ is $ N^k $

How to remove the limit when computing arrangements?

The calculations of arrangements increase exponentially and quickly require large computing servers, so the free generations are limited.

What is the cartesian product of N identical sets?

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)

Source code

dCode retains ownership of the online 'Arrangements with Repetition' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Arrangements with Repetition' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Arrangements with Repetition' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Arrangements with Repetition' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Need Help ?

Please, check our dCode Discord community for help requests! NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developed the best 'Arrangements with Repetition' tool, so feel free to write! Thank you!

Thanks to your feedback and relevant comments, dCode has developed the best 'Arrangements with Repetition' tool, so feel free to write! Thank you!