You are repeatedly tossing a fair die. How many tosses until you get a 5 or a 6.
I got the answer $3$ using $P_iX_i$ that is creating a infinite series but the hint to the problem says
One approach is to sum an infinite series. Another is to notice that the problem either ends or restarts after first toss: this lets to express answer recursively, meaning you can set up an equation where answer appears on both sides
I'm not sure how to interpret the second part. It makes sense that the problem end or restarts but I don't understand what to make of it or how to solve it using recursion