I'm trying to find the general solution for a Markov chain defined as a
random walk with $a + b + c = 1, P(X_k = -1) = a, P(X_k = 0) = b, P(X_k = 1) = c$
and a reflecting boundary at 0, in other words, $Y_{n+1} = \max\{Y_n+X_{n+1}, 0\}$
The flow balance equation seems to be
$(1-b) \pi_{n} = a\pi_{n+1} + c\pi_{n-1} : n\geq1$
Any help would be appreciated
Using the same solution process from ODEs
Solving the flow balance equations gave an equation of form
$\mu s^2-(1-\gamma)s+\lambda=0$
with the general solution from the roots being
$c_1 (\frac{\pi}{\mu})^i + c_2$