Find all positive integers $n$ such that $1+2^n+4^n$ is a prime number.
My attempt:
Suppose that $P(n)=1+2^n+4^n$ is a prime number. Let $n=3^kl$, where $l\geq1$ and $l$ is not divisible by 3. We have
$$
P(n)=1+2^{3^kl}+4^{3^kl}=1+a^l+a^{2l}=1+a+a^2+a(a^{l-1}-1)+a^2(a^{2l-2}-1),
$$
where $a=2^{3^k}$. We see that $a^{t(l-1)}-1$ is divisible by $a^3-1$, and therefore divisible by $a^2+a+1$. It follows that $P(n)$ is divisible by $a^2+a+1$. This happens only if $P(n) = a^2+a+1$, i.e., $n=3^k$.
However, I am stuck on the remaining, that is, we have to find $k\geq0$ such that $P(3^k)$ is a prime number. I can verify $k=0,1,2$ fulfill.
My conjecture: for $k\geq3$, $P(3^k)$ is not a prime number. But I do not know how to prove it. Can you help me, or suggest an idea, please? Thank you very much.
Edit: Here is a similar question. But this is about proving that there exists an $n$ such that $P(n)$ is a prime number. We can show that $m=0, 1, 2$ fulfills the question. However, my question is to find all $n$ such that $P(n)$ is prime. Thus the linked solution does not solve my question.