Suppose you deposit $$\$ 500$$ in a bank account that pays $6 \%$ interest at the end of each year (compounded annually). Thereafter, at the beginning of each year you deposit $$\$ 100 .$$ Let $h_{n}$ be the amount in your account after n years $\left(\right.$ so $\left.h_{0}=\$ 500\right)$. Determine the generating function $$g(x)=h_{0}+h_{1} x+\cdots+h_{n} x^{n}+\cdots$$ and then a formula for $h_{n}$.