Can someone explain the details to the equality: $$ x^n \sum_{k=0}^{\lfloor \frac{n}2\rfloor} \binom{n+1}{2k+1}(1-x^{-2})^k = \sum_{k=0}^{\lfloor \frac{n}2 \rfloor} \binom{2k-(n+1)}{k}(2x)^{n-2k}? $$
How is the LHS equal to the RHS?
Thanks!
EDIT: any hint or pointing me in the right direction would be greatly appreciated!