Find the smallest positive integer $n$, such that $3^k + n^k + (3n)^k + 2014^k$ is a perfect square for all natural numbers $k$, but not a perfect cube for all natural numbers $k$.

Let's think step by step and output the final answer within \boxed{}.
user