\[\beta_{n+2}=a\beta_{n+1}-\tfrac{1}{2}(n+1)(2n+3)\beta_{n},\]