document.write( "Question 1089658: Someone has stolen a bank card and wants to use it at an ATM. PINS are designed to contain four numbers (0 through 9). ATM machines are designed in a way that after the first three attempts to log in using a wrong PIN, a bank card stays with a machine.
\n" ); document.write( "What is the probability that a thief will guess correctly the PIN at his third attempt?
\n" ); document.write( "

Algebra.Com's Answer #704060 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!
I am interpreting your question to ask what the probability is that the thief guesses the PIN precisely on the 3rd guess.\r
\n" ); document.write( "\n" ); document.write( "Since there are 10000 PINs (0000, 0001, …, 9999) and he/she presumably guessed two other unique PINs already, the probability of guessing correctly on the 3rd attempt is:
\n" ); document.write( " \"+highlight%281%2F9998%29+\" or about 0.00010002\r
\n" ); document.write( "\n" ); document.write( "—————————————\r
\n" ); document.write( "\n" ); document.write( "As an aside/related note:
\n" ); document.write( "If you wanted to know the probability that he/she guesses the PIN using at most 3 guesses, then that is
\n" ); document.write( "1 - P(no guesses are correct) = 1-P(first guess is incorrect)*P(2nd is incorrect)*P(3rd is incorrect)
\n" ); document.write( "= 1 - (9999/10000)(9998/9999)(9997/9998)
\n" ); document.write( "= 1 - (9997/10000)
\n" ); document.write( "= 3/10000
\n" ); document.write( "= 0.0003\r
\n" ); document.write( "\n" ); document.write( "Although I calculated it as pick1 followed by pick2, then pick3, notice how the result is equivalent to 3 picks out of 10000 (if there were 10000 slips of paper, each with a unique PIN written on it, you could take 3 out all at once), as you'd expect intuitively.\r
\n" ); document.write( "\n" ); document.write( "—————————————
\n" ); document.write( "
\n" ); document.write( "
\n" );