If f is a function satisfying f(x+y)=f(x).f(y) for all x,y in N, such that f(1)=3 and the sum from x=1 to n of f(x) equals 120, find the value of n.
Hint. The functional equation forces f(x)=3^x, turning the given sum into a G.P. sum with a=r=3.
f(x+y)=f(x)f(y) with f(1)=3 forces f(x)=3^x (since f(2)=f(1)f(1)=9=3^2, f(3)=f(2)f(1)=27=3^3, and so on). So the sum is a G.P. with a=3, r=3: 3(3^n-1)/(3-1)=120, giving 3^n-1=80, 3^n=81=3^4, n=4.
✦ Working through each part gives: n = 4.
