Here's a a tweak of Seva's idea that gives a counterexample. Note that if $r$ is odd, then $2^{n}+1$ divides $2^{rn} + 1$.
Let $k = 6$, $a_{1} = 1$, $a_{2} = a_{3} = a_{4} = 2$, $a_{5} = a_{6} = 4$. Then $a_{1}^{n} + \cdots + a_{6}^{n} = 1 + 3 \cdot 2^{n} + 2 \cdot 4^{n} = (1+2^{n})(1+2^{n+1})$.
If $n$ is any positive integer, let $f(n) = 2n^{2} + n - 1$. We see that $f(n) \equiv -1 \pmod{n}$ and so $\gcd(n,f(n)) = 1$. Now,
$$a_{1}^{f(n)} + \cdots + a_{6}^{f(n)} = (1+2^{2n^{2} + n - 1})(1+2^{2n^{2} + n}).$$
The second factor is $2^{n(2n+1)}+1$ and so is a multiple of $2^{n} + 1$. On the other hand, the first factor is $2^{(n+1)(2n-1)}+1$ and so it is a multiple of $2^{n+1} + 1$. Thus, $a_{1}^{f(n)} + \cdots + a_{6}^{f(n)}$ is a multiple of $a_{1}^{n} + \cdots + a_{6}^{n}$.