$H_0 = 0, H_1 = 1, H_2 = 1$, for all $n \in \mathbb{N}$ where $n \geq 3$:
Prove for all $n \in \mathbb{N}$, $$ H_n = H_{n−1} + H_{n−2} − H_{n−3}. $$ $$ H_n = \begin{cases} \dfrac{n}{2}, & \text{if $n$ is even} \\[2ex] \dfrac{n+1}{2}, & \text{if $n$ is odd} \end{cases} $$
I don't know how the inductive step $k+1$ in a strong induction would go for piecewise function like this. I think I'll have to show the proposition hold when $k+1$ is even and odd, but I don't know how to continue the proof.