We are given the functional equation f(x+y)=f(x)⋅f(y) for all x,y∈N, along with f(1)=3 and the condition ∑k=1nf(k)=3279.
By setting y=1 in the functional equation, we obtain f(x+1)=f(x)⋅f(1)=3f(x). An inductive argument then shows that f(n)=3n for every natural number n.
Substituting f(k)=3k into the given sum, we get
∑k=1n3k=3+32+33+⋯+3n=3−13(3n−1)=23(3n−1).
We set this equal to 3279 and solve:
23(3n−1)=3279
3(3n−1)=6558
3n−1=2186
3n=2187=37
n=7.
Therefore, the value of n is 7.