I am trying to prove some recurrence relations regarding these 2 series:
- $$O_n = \sum_{r=0}^n \binom{2n+1-r}{r}$$
- $$E_n= \sum_{r=0}^n \binom{2n-r}{r}$$
The recurrence relations being:
- $$T_n = 3T_{n-1} - T_{n-2}$$ where T can be interchanged with O or E
- $$O_{n-1}= \frac{O_{n-2}+E_{n}}{2}$$
I have tried everything from trying to apply Pascal's identity to trying induction but nothing worked.
For the second one we may also compute an auxiliary generating function to start. We get
$$T(x) = \sum_{n\ge 0} x^{2n+1} \sum_{r=0}^n {2n+1-r\choose r} = \sum_{r\ge 0} \sum_{n\ge r} {2n+1-r\choose r} x^{2n+1} \\ = \sum_{r\ge 0} x^{2r} \sum_{n\ge 0} {2n+1+r\choose r} x^{2n+1} \\ = \sum_{r\ge 0} x^{2r} \sum_{n\ge 0} {n+r\choose r} \frac{1}{2} (1-(-1)^n) x^n \\ = \sum_{r\ge 0} x^{2r} \frac{1}{2} \left[ \frac{1}{(1-x)^{r+1}} - \frac{1}{(1+x)^{r+1}} \right] \\ = \frac{1}{2} \frac{1}{1-x} \frac{1}{1-x^2/(1-x)} - \frac{1}{2} \frac{1}{1+x} \frac{1}{1-x^2/(1+x)} \\ = \frac{1}{2} \frac{1}{1-x-x^2} - \frac{1}{2} \frac{1}{1+x-x^2} = \frac{x}{x^4-3x^2+1}.$$
Now we have
$$[x^{2n+1}] \frac{x}{x^4-3x^2+1} = [x^{2n}] \frac{1}{x^4-3x^2+1} = [x^n] \frac{1}{x^2-3x+1}$$
and that is therefore our generating function $S(x).$ Using exactly the same computation as in the first answer we once more find
$$\bbox[5px,border:2px solid #00A000]{ S_n = 3 S_{n-1} - S_{n-2}.}$$
This is the claim. It remains to show that
$$O_{n-1} = \frac{1}{2} O_{n-2} + \frac{1}{2} E_n.$$
This is
$$[x^{n-1}] \frac{1}{x^2-3x+1} = \frac{1}{2} [x^{n-2}] \frac{1}{x^2-3x+1} + \frac{1}{2} [x^n] \frac{1-x}{x^2-3x+1}.$$
or alternatively
$$[x^n] \frac{x}{x^2-3x+1} = \frac{1}{2} [x^n] \frac{x^2}{x^2-3x+1} + \frac{1}{2} [x^n] \frac{1-x}{x^2-3x+1}.$$
The RHS is
$$\frac{1}{2} [x^n] \left[1+\frac{3x-1}{x^2-3x+1}\right] + \frac{1}{2} [x^n] \frac{1-x}{x^2-3x+1}.$$
With $n\ge 2$ this becomes
$$\frac{1}{2} [x^n] \frac{3x-1}{x^2-3x+1} + \frac{1}{2} [x^n] \frac{1-x}{x^2-3x+1} = [x^n] \frac{x}{x^2-3x+1}.$$
This concludes the argument.