[Math] How many possible combinations in $7$ character password

combinationscombinatoricspermutations

The password must be $7$ characters long and it can include the combination: $10$ digits $(0-9)$ and uppercase letters $(26)$.

My Solution:

Thus in total there are $7$ slots, each slot could be either $0-9$ or $26$ letters $= 36$ possibilities for each slot, therefore, $36^7$ would be the number of password combinations?

Am I correct?

Best Answer

You are correct. $36^7$ is the right answer.