I have a real life problem that sounds like word problem from an Algebra test, but I've haven't been able to find an example of how to solve it.
My sister forgot the security code to the garage. The security code is 4 digits (order matters). She remembers that the code consists of a 6, 5, and 2 and that one digit repeats somewhere in the sequence. I want to figure out the total number of possible security codes
Every example of permutations calculations I have been able to find require that the total number of objects being selected from is greater than the number of selections (i.e. a 4 digit code made up of the digits 0-9). Also, the examples that allow for repetition seem to allow all digits to repeat not just one.