Let $$ I_n(m)=\frac{1}{2\pi}\int_0^{2\pi}e^{ixm}(1+e^{-ix}+e^{-2ix})^n\, dx. $$
I am trying to compute $$ \limsup_{n\to\infty}\frac{1}{n}\log\left(\frac{1}{3^n}\sum_{m=0}^{2n}I_n(m)\lambda^m\right). $$
Here, $\lambda$ is the largest root of $\lambda^3-\lambda^2-1$, which is approximately $1.466$.
I did not have an idea how to compute this. Looks very hard to me.
Maybe you do see some trick.
Comparing it with
which is an alternative way of computation for thr same problem, the result should be that $$ \log\left(\frac{1+\lambda+\lambda^2}{3}\right) $$
I have exported this question from the comments of this post: How many possibilities?