A and B toss a dice with 1 to n faces in an alternative way, the game is over when a face shows up with point less than the previous toss and that person loses. What is the probability of the first person losing the game and the expected number of tosses?
I can solve this question for 6 face dice: If the first die is 1, there are 5 greater numbers on the second: 1/6 * 5/6 = 5/36. If the first die is 2, there are 4: 1/6 * 4/6 = 4/36 and so on. T/hus prob of first person losing the game is:
5/36 + 4/ 36 + 3/36 + 2/36 + 1/36 = 15/36 = 5/12
don't know how to generalize it to n faces.
There are $\binom{n+k-1}k$ different non-decreasing sequences of length $k$ with elements in $\{1,\ldots,n\}$. The first player loses exactly if for any even $k$ the first $k$ rolls form such a sequence and the first $k+1$ rolls don't. Thus the probability for the first player to lose is
$$ \sum_{k=0}^\infty(-1)^k\binom{n+k-1}k\frac1{n^k}=\left(1+\frac1n\right)^{-n}\;. $$
This goes to $\mathrm e^{-1}$ as $n\to\infty$. In the limit $n\to\infty$, the probability for equal rolls goes to zero, so we can rank the rolls. If we rank the first $k$ rolls, the ranks are a random permutation of the first $k$ integers. Thus, the limit can also be obtained if we know how many permutations have their first descent (or, equivalently, ascent) in an even position. This was recently asked and answered at Permutations of length $n$ in which the first ascent occurs in an even position. The result is that the number of these permutations is the number of derangements, and the proportion of permutations of length $k$ that are derangements goes to $\mathrm e^{-1}$ as $k\to\infty$, in agreement with the above result.
The expected number of rolls can be obtained by summing the probabilities that no descent has occurred after $k$ rolls:
$$ \sum_{k=0}^\infty\binom{n+k-1}k\frac1{n^k}=\left(1-\frac1n\right)^{-n}\;. $$
This goes to $\mathrm e$ as $n\to\infty$. In the limit $n\to\infty$, we can again ignore the possibility of equal rolls. The probability that no descent has occurred after $k$ rolls is then $\frac1{k!}$, and the expected number of rolls is
$$ \sum_{k=0}^\infty\frac1{k!}=\mathrm e\;, $$
in agreement with the above result.