This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.
Given a geometric sequence with first term a0 and common ratio r, where an = a0*(r)^n, output the values of an for n = 1..N (N <= 40).