Question 30If $R_n=\frac12(a^n+b^n),$ where $a=3+2\sqrt2,$ $b=3-2\sqrt2,$ and $n=0,$ $1,$ $2,$ $\ldots,$ then $R_{12345}$ is an integer. Its units digit is$1$$3$$5$$7$$9$