I came across this question in a written exam:
For which complex $z$ does $i^{i^z}$ have finitely many values?
Is there a standard way in which this expression is defined? I tried to define it as the set $$\{e^{(i \pi/2 + 2 \pi i n)e^{z(i \pi/2 + 2 \pi i m)}}\}_{n,m \in \mathbb{Z}}$$ because of the expression $\log z = \log|z| + i \arg(z) + 2 \pi i k$
Is the question asking me to count the size of this set?
There are some answers which help me define $i^z \equiv \{e^{z i \pi/2 + z 2 \pi i k}\}_{k \in \mathbb{Z}}$ but it's not clear that this will now lead to a definition for $i^{i^z}$ unless we define what it means to exponentiate a set of complex numbers since the exponent is now a set. I think what makes sense is to take $\cup_k i^{e^{z i \pi/2 + z 2 \pi i k}} $ in which case I believe we get back the definition I made up $\{e^{(i \pi/2 + 2 \pi i n)e^{z(i \pi/2 + 2 \pi i m)}}\}_{n,m \in \mathbb{Z}}$