Note: Before starting, I would like to point out that I have no concrete reason as to why I need to find this, but I just wanted to know.
Here is a bit of a background
There is a 2 player game where you get a number chosen for you, from 1 to n (n included). If you have y chosen for you, then the other person has a number from 1 to y chosen. This goes on until someone has 1 chosen for them, and that person is the winner.
Now the question is to find which person, the person who has the number chosen first, or the person who has the number chosen second, has more probability of winning.
The hurdles I found were:
If I am having a number chosen from 1 to n, it is possible that I get n. If it happens, the other person has to choose from 1 to n as well, and this can happen infinitely many times for any value of n.
The probability of getting any chosen number from 1 to n is 1/n. If the number is y, then the probability of getting any chosen number from 1 to y is 1/y. But you don't know what y ends up being, and it is not feasible to make infinitely many cases
The first person also might have 1 chosen as their number in the first go itself, which is why I feel they have more probability of winning, but I am not sure how exactly do I prove that (considering it is true), and how do I get to know what the probabilities of each of them winning are.
Here is an example game. I am playing against you, I go first. n is 100.
"X: y" means "X" got the number y in their turn
I: 49
You: 42
I: 23
You: 15
I: 8
You: 3
I: 3
You: 3
I: 2
You: 1
Which concludes that you won the game. As you can see, there is a chance that there is a repetition as well.
Could anyone help me out to calculate the probabilities? Thank you!