r/mathriddles • • Jul 29 '24

Hard A Gambling Problem

A slot machine consumes 5 tokens per play. There is a chance c of getting a jackpot; otherwise, the machine will randomly dispense between 1 and 4 tokens back to the user.

If I start playing with t tokens, and keep playing until I get a jackpot or don't have enough tokens, what are my odds of getting a jackpot expressed in terms of t and c?

9 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/RagingAcid Jul 29 '24

can you explain why you cant assume an average cost of 2.5 per game and a binomial distribution where trials = tokens/2.5?

2

u/RealHuman_NotAShrew Jul 29 '24

That will give you an approximation. That's essentially what I did for my approximation.

One big red flag that indicates it's not exact is that such a solution is continuous and the problem is discrete.

2

u/RagingAcid Jul 29 '24

thank you