One annuity pays 4 at the end of each year for 36 years. Another annuity pays 5 at the end of each year for 18 years. The present values of both annuities are equal at effective rate of interest i . If an amount of money invested at the same rate i will double in n years, find n.