Answer:
The probability is
![(1)/(n)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/ms54kzv6czf3kp60w3bocufofn8fbtgrmc.png)
Explanation:
If she has n distinct password candidates and only one of which will successfully log her into a secure system, the probability that her first first successful login will be on her k-th try is:
If k=1
![P = (1)/(n)](https://img.qammunity.org/2020/formulas/mathematics/high-school/n49tpt3y46ivfhmppwbcsmztfx2uo8y6pe.png)
Because, in her first try she has n possibles options and just one give her a successful login.
If k=2
![P=(n-1)/(n) *(1)/(n-1) =(1)/(n)](https://img.qammunity.org/2020/formulas/mathematics/high-school/g94x9gu6ny8kmjup2os7p1bbuitiik4612.png)
Because, in her first try she has n possibles options and n-1 that are not correct, then, she has n-1 possibles options and 1 of that give her a successful login.
If k=3
![P=(n-1)/(n) *(n-2)/(n-1) *(1)/(n-2) = (1)/(n)](https://img.qammunity.org/2020/formulas/mathematics/high-school/rixzpi3kmp1gi4p0wtvoxcdkaerg0wed7h.png)
Because, in her first try she has n possibles options and n-1 that are not correct, then, she has n-1 possibles options and n-2 that are not correct and after that, she has n-2 possibles options and 1 give her a successful login.
Finally, no matter what is the value of k, the probability that her first successful login will be (exactly) on her k-th try is 1/n