Guessing a three digit pin code from an 8 key keypad

  • Context: MHB 
  • Thread starter Thread starter jridgeman99
  • Start date Start date
  • Tags Tags
    Code Pin
Click For Summary
SUMMARY

The discussion centers on calculating the probability of correctly guessing a three-digit PIN code from an 8-key keypad, where digit repetition is permitted. The total number of possible PIN combinations is determined using the fundamental counting principle, which states that for each digit, there are 8 options. Therefore, the total number of unique PIN codes is 8^3, equating to 512 possible combinations. Since only one of these combinations is correct, the probability of a successful guess on the first attempt is 1 in 512.

PREREQUISITES
  • Understanding of basic probability concepts
  • Familiarity with the fundamental counting principle
  • Knowledge of permutations and combinations
  • Basic mathematical skills for calculating probabilities
NEXT STEPS
  • Study the fundamental counting principle in detail
  • Learn about permutations and combinations in probability theory
  • Explore practical applications of probability in security systems
  • Research methods for enhancing PIN security against guessing attacks
USEFUL FOR

This discussion is beneficial for mathematicians, security analysts, and anyone interested in understanding the probabilities involved in PIN code security and guessing strategies.

jridgeman99
Messages
5
Reaction score
0
Hello, the problem is as follows. I'm not sure if it is a permutation or combination problem. It says if a thief steals and ATM card and must randomly guess the correct three digit pin code from an 8 key keypad. Repetition of digits is allowed. What is the probability of a correct guess on the first try?
 
Physics news on Phys.org
jridgeman99 said:
Hello, the problem is as follows. I'm not sure if it is a permutation or combination problem. It says if a thief steals and ATM card and must randomly guess the correct three digit pin code from an 8 key keypad. Repetition of digits is allowed. What is the probability of a correct guess on the first try?

How many PIN codes are possible...can you apply the fundamental counting principle to answer this question?
 
I'll just add on to Mark's comment that PINs are order-sensitive. 123 is not the same as 321.
 

Similar threads

Replies
1
Views
6K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
13K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
19K