I'm trying to solve a problem in which I'm asked the probability mass function of $X$ where $X$ is the number of times a dice is rolled until a sum greater than six is encountered. I was able to deduce that the possible values that $X$ can take are $2,3,4,5,6,7$ (at most we keep gettings $1$s each time), however deducing how often does each of them occurs wasn't easy for me to conclude without drawing the sample space tree, but the problem is that it gets out of control (in terms of size) quickly and I'm not able to find the pattern that would make me solve it quicker otherwise.
Thank you, have a nice day.
Recursion will do:
If $f(x,n)$ is the probability you need $x$ throws until you exceed $n$, then
giving the table
and you want the bottom row