Permutations with Repetition Allowed

Rarely Tested

Permutations with Repetition Allowed

## Formula

If each of $$r$$ positions can be filled independently using any of $$n$$ objects, the number of arrangements is:

$$n^r$$

## Usage

- Used when objects can be repeated and order matters.

Question 1

A 7-letter passcode is to be generated using only the letters from the set $$\{X,Y,Z\}$$

In how many distinct ways can this passcode be formed such that the letter $$X$$ appears an even number of times (including zero), and 

the letter $$Y$$ appears an odd number of times?

Go back to topics

Join CAT 2026 course by 5-Time CAT 100%iler

Start your IIM journey with the right preparation and crack CAT 2026.