Let $n$ be positive integer, find the value
$$f(n)=\sum_{k=1}^{\lfloor n/2 \rfloor}\dfrac{2^{n-2k}\binom{n-2}{2k-2}\binom{2k-2}{k-1}}{k}. $$
I have found
$$ f(2)=1, \quad f(3)=2, \quad f(4)=5, \quad f(5)=14, \quad f(6)=42, \quad f(7)=132. $$
It seem OEIS (A000108):
$$ f(n)=\dfrac{1}{n}\binom{2n-2}{n-1},$$
but how to prove it?
Shifting the summation index by $1$, let us rewrite $f(n)$ by
$$ f(n) = \sum_{k \geq 0} \binom{n-2}{2k} \cdot 2^{n-2-2k} \cdot \frac{1}{k+1}\binom{2k}{k}. $$
We seek for a combinatorial interpretation of this sum.
1. (A brief review on Dyck words) A Dyck word of length $2n$ is a string consisting of $n$ $\mathtt{u}$'s and $n$ $\mathtt{d}$'s such that no initial segment of the string has more $\mathtt{d}$'s than $\mathtt{u}$'s. Then it is well-known that the Catalan number,
$$C_n = \frac{1}{n+1}\binom{2n}{n}, $$
counts the number of all Dyck words of length $2n$.
2. (Modified Dyck words) Now we introduce a generalization of Dyck word. A string $w$ in alphabet $\{\mathtt{X}, \mathtt{Y}, \mathtt{U}, \mathtt{D}\}$ is called a modified Dyck word if
In other words, the string obtained by removing $\mathtt{X}$'s and $\mathtt{Y}$'s in $w$ is a Dyck word. Equivalently, a modified Dyck word is any string obtained from a Dyck word in alphabet $\{\mathtt{U}, \mathtt{D}\}$ by splicing arbitrary number of $\mathtt{X}$'s and $\mathtt{Y}$'s.
Now the importance of the modified Dyck words comes from the following lemma:
The intuition behind this bijection is as follows: We identify each Dyck word of length $2n$ with the lattice path from $(0, 0)$ to $(2n, 0)$ by identifying $\mathtt{u} = \nearrow$ and $\mathtt{d} = \searrow$. For example,
From the definition, a string in alphabet $\{\mathtt{u}, \mathtt{d}\}$ is a Dyck word if and only if the corresponding lattice path is a Dyck path (a path that lies on and above the horizontal axis).
Now, by dropping the first and last moves from a Dyck path joining $(0, 0)$ to $(2n, 0)$, grouping the rest into pairs of adjacent moves, we see that the truncated path becomes a modified Dyck path:
Conversely, starting from any modified Dyck paths (using four types of moves in $\text{(*)}$) we can recover the Dyck path by reversing the above construction. This is why we expect the lemma to hold.
3. (Solution) Now we are ready to investigate $f(n)$.
\begin{align*} C_n &= [\text{# of Dyck words of length $2n$}] \\ &= \sum_{k\geq 0} [\text{# of modified Dyck words of length $n-1$ containing $k$ $\mathtt{U}$'s}] \\ &= \sum_{k\geq 0} C_k \cdot [\text{# of ways of splicing $\mathtt{X}$ and $\mathtt{Y}$'s to obtain a string of length $n-1$}] \\ &= \sum_{k\geq 0} C_k \cdot \binom{n-1}{2k} 2^{n-1-2k} \\ &= f(n+1). \end{align*}
Therefore
$$ f(n) = C_{n-1} = \frac{1}{n} \binom{2n-2}{n-1}. $$