Question 1200590
.
A pair of symmetrical six-sided dice is rolled. 
If the sum equals k on the face up, player A wins and the game ends. 
If the sum is equal to m, B wins and there is no further betting. 
(a) What is the probability that A wins after n rolls? 
(b) What is the probability that B will win? 
([n, k, m] = [17, 3, 6])
~~~~~~~~~~~~~~~~~~


<pre>
(a)  With the given data, the condition that A wins after n= 17 rolls is 
     that in previous 16 rolls the sum is NEITHER 3 NOR 6, but in the 17th roll the sum is 3.


     The probability to get the sum 3 is {{{2/36}}} = {{{1/18}}}.

     The probability to get the sum 6 is {{{5/36}}}.

     The probability do not have the sum 3 or 6 is  {{{(36-2-5)/36}}} = {{{29/36}}}.


     Thus the probability that A wins after 17 rolls is

          P = {{{(29/36)^16*(1/18)}}} = 0.001747 (rounded).    <U>ANSWER</U>
</pre>

Part (a) is complete.


Regarding part (b), the question (b) is unclear to me.


From the context, I can think that the question asks about the n=17th roll.


But I also may think that the question does not mean a concrete value of n.



My advise to you is NEVER put more than one question per post,

or, at least, to take care that your post and your questions are not ambiguous.



===============



On rolling dice problems see the lesson

&nbsp;&nbsp;&nbsp;&nbsp;- <A HREF=https://www.algebra.com/algebra/homework/Probability-and-statistics/Rolling-a-pair-of-fair-dice.lesson>Rolling a pair of fair dice</A> 

in this site. &nbsp;You will find there many similar solved problems.


Read it and learn the subject from there.  &nbsp;After that, &nbsp;you will be able easy solve such problems
ON &nbsp;YOUR &nbsp;OWN, &nbsp;which is your &nbsp;MAJOR &nbsp;GOAL &nbsp;visiting this forum &nbsp;(I believe).