Permutations With Repetition

Count ordered arrangements of items selected from a set with repetition allowed, using the formula nkn^k and the multiplication principle, including problems solved by complementary counting.

Step 1 of 119%

Tutorial

Permutations With Repetition

A permutation with repetition is an ordered arrangement of kk items chosen from a set of nn distinct objects, where the same object may be selected more than once.

Since each of the kk positions can be filled independently by any of the nn available objects, the total number of such arrangements is

nk.n^k.

For example, the number of 22-letter codes formed from the letters {A,B,C}\{A, B, C\} with repetition allowed is 32=9:3^2 = 9{:}

AA, AB, AC, BA, BB, BC, CA, CB, CC.AA,\ AB,\ AC,\ BA,\ BB,\ BC,\ CA,\ CB,\ CC.

Notice that order matters: ABAB and BABA are counted as different arrangements.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle