Please enter a and r as decimals and enter n, the number of terms to be generated, as a positive integer < 50.