How many guesses would it require to correctly guess a 10 digit number?

  • Context: Undergrad 
  • Thread starter Thread starter shivajikobardan
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on calculating the number of guesses required to correctly guess a 10-digit password composed solely of numbers. It establishes that for a decimal system, the total number of guesses needed is 1010, while in a binary system, it is 210. The conversation also highlights the importance of the type of feedback received after each guess, which can significantly alter the average number of guesses needed. The probability mentioned, 1/3628800, appears to be a miscalculation and is not directly related to the guessing strategies discussed.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with binary and decimal number systems
  • Knowledge of probability theory
  • Concept of feedback mechanisms in guessing games
NEXT STEPS
  • Research "Combinatorial mathematics in password security"
  • Learn about "Binary vs Decimal systems in computing"
  • Explore "Probability theory applications in guessing games"
  • Investigate "Feedback mechanisms in search algorithms"
USEFUL FOR

Mathematicians, computer scientists, cybersecurity professionals, and anyone interested in understanding the complexities of password guessing strategies and their probabilities.

shivajikobardan
Messages
637
Reaction score
54
TL;DR
Guesses required
Book link
.I'm trying to find how'd you calculate the number of guesses required to correctly guess a 10 digit password made up of numbers only?
Binary or decimal both ok, I just want to learn how'd you calculate it.
I think the probability is ## 1/3628800 ##

take binary case:
For guessing the first number correctly, you'd require 2 guesses.
##2^{10}## guesses

Is this approach correct? ##10^{10}## guesses to guess 10 digit decimal number?
 
Physics news on Phys.org
That looks right to me. One thing to watch out for with the wording of the problem - a regular 10 digit number can't start, since it would just be a 9 digit number at that point. But a 10 digit password certainly could.
 
shivajikobardan said:
I think the probability is ## 1/3628800 ##
Where has this number come from?
 
shivajikobardan said:
Summary: Guesses required

Book link
.I'm trying to find how'd you calculate the number of guesses required to correctly guess a 10 digit password made up of numbers only?
Binary or decimal both ok, I just want to learn how'd you calculate it.
I think the probability is ## 1/3628800 ##
You lost me here. Where did this probability come from? It seems unrelated to ##2^{10}## or ##10^{10}##.
Are you interested in how many are required to know that you have guessed it in every case or how many guesses would you expect it to take?
 
This depends on the information you get after each guess. If you get a yes/no the answer is different from higher/lower, which is different from "higher by 1234:".

In base b, the number of guesses with no other information needed to know it is b^{10}-1. The average is about half that.
 
  • Like
Likes   Reactions: FactChecker
Vanadium 50 said:
This depends on the information you get after each guess. If you get a yes/no the answer is different from higher/lower, which is different from "higher by 1234:".

In base b, the number of guesses with no other information needed to know it is b^{10}-1. The average is about half that.
To be clear, that is to make every guess possible so that you know that one of the guesses is right. But you don't know which guess is right until you are told.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
1
Views
6K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K