Let $T$ be a binary tree (each of the vertices have degree 3). Let $P$ be the transition matrix of a symmetric random walk on $T$. Let $0$ be any vertex of $T$ and think of $0$ as the root of three disjoint sub-trees of $T$.
I want to show that any solution to $2a_{n+1} - 3a_n + a_{n-1}=0$ defines a harmonic function $\alpha$ on a given subtree, by $\alpha(x) = a_n$, where $n$ is the distance between $0$ and $x$.
According to the definition, the function $f: V \to \mathbb{R}$ is harmonic on $U$ (w.r.t. the transition matrix $P$) if \begin{align} f(u) = \sum_{u \in V} p_{u,v} f(v), \qquad u \in U. \end{align} However, I do not understand this definition well enough to apply it on the above recurrence relation $a_n = \frac{2}{3}a_{n+1} + \frac{1}{3}a_{n-1}$. Any help is appreciated!