Is simply to demostrate that if I have a 4-digit numeric passcode PIN, I need to try 10.000 PINs (in the worst case) to match the passcode. I want to know, with an analytical demonstration, if the probability would be the same if I change the passcode random times in the "try process".
Lets say that my passcode is "2000" and I a naughty persona tried the first 1000 passcode, respectively: (0000 to 0999), then I change my passcode to "0777", so this naughty person can try the entire 10.000 passcode without success, this change the probability of success, what happen with this situation (changing the passcode during the process of "tries") how affect the probability?
Thanks for reading and please forgive my horrible way to write English.