This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Let $S_n=a^n+b^n$. Then $S_{n+2}=7S_{n+1}+S_n$. $S_{21}=7S_{20}+S_{19}=7(7S_{19}+S_{18})+S_{19}=50S_{19}+7S_{18}$ and $S_{17}=S_{19}-7S_{18}$. So $S_{21}+S_{17}=51S_{19}$, and the ratio is $51$. Answer: 51.