I was working on the following problem:
Prove $10^{10^{10^n}} + 10^{10^n} + 10^{n} - 1$ is never prime for any $n \in \mathbb{N}$
With some help I was able to figure out an answer to this, however I would have found it difficult to come up with independently. Is there any intuition for how to solve this, in particular how to figure out the factor in terms of $n$ that will divide this number.
I was also wondering if this generalizes in some interesting way. In particular,
For what values of $L \in \mathbb{N}$ is: $$ \sum_{k=0}^{L} \left ( 10^{10^{\dots \text{k times} \ ^{{10^n}}}} \right ) - 1 $$ never prime for any $n \in \mathbb{N}$.
Also sorry for the notation in this, I wasn't quite sure how to represent it best.