Let $n$ and $k$ be two integer parameters ($n\geq k$, if that matters). Define the following function:
$\text{LOG }x=\max(\log{x},1)$
What is the limit of the following sequence as a function of $n$ and $k$?
$a_1 = \text{LOG }n$
$a_2 = \text{LOG }k \cdot \text{LOG }\text{LOG }n$
$a_3 = \text{LOG }k \cdot \text{LOG }\text{LOG }k \cdot \text{LOG }\text{LOG }\text{LOG } n$
$a_4 = \text{LOG }k \cdot \text{LOG }\text{LOG } k \cdot \text{LOG }\text{LOG }\text{LOG }k \cdot \text{LOG }\text{LOG }\text{LOG }\text{LOG }n$
...
I looked at Iterated logarithm in Wikipedia, this looks similar but not the same.
A limit in terms of big-Oh notation is fine (e.g. $O(f(n,k)$).
$LOG LOG \dotso LOG(N) \rightarrow 1$ so we can ignore that completely. You can generate the proof by looking at a cobweb plot and noticing that the limit must be in the intersection of $y = x$ and $y = \text{LOG }x$ which is at $x = 1, y = 1$.
As far as $\text{LOG } k \text{ LOG } \text{LOG } k \text{ LOG } \text{ LOG } \text{ LOG } k \dotso$ after finitely many of those the sequence will stay the same. The $n$ at which this happens is the iterated log of $k$. A not very tight big-O is $O(\log(k)^{log^*k})$