Decision guide
Why this formula fits
This is permutation with repetition because the code positions are ordered and every position can reuse any symbol.
Does order matter? Order matters because 1234 and 4321 are different room codes.
Is repetition allowed? Repetition is allowed, so the same symbol can appear in multiple positions.
Worked solution
6 choices for 4 ordered positions gives 1,296.
- Inputs: n = 6, r = 4
- Formula: n^r
- Substitute: 6^4
- Steps: multiply 6 by itself 4 times
- Result: 6 choices for 4 ordered positions gives 1,296.
Interactive tool
Run the same scenario in the calculator
This is permutation with repetition because the code positions are ordered and every position can reuse any symbol.
Result
0
Enter values to calculate.
What your result means
The explanation updates with the current inputs.
Live visual
Fruit preview
Previewing a small sample keeps the page fast and readable.
Calculation work