I want to find out the solutions to the equation $a^b = 1$. I know the real solutions like $k^0 = 1, 1^k = 1, (-1)^{2k} = 1$. I want to know if I missed any real solutions for this. Also I know of complex solutions like $1,\omega, \omega^2, ......$.
The actual question which I wanted to solve using this is $(x^2 - 5x + 6) ^ {x^2 - 3x + 2} = 1$. I have the solutions that can be obtained by the above real solutions to $a^b = 1$. I want any other possible real or complex solutions for the second equation.
PS: My main concern is about the second equation only.
Edit 1: I have tried to solve this by the general forms of complex numbers. Like in
$\left(re^{i\theta}\right)^{\left(a+ib\right)}\ =\ 1$. This simplifies to: $\left(\frac{r^a}{e^{\theta b}}\right)\left(e^{\theta a}.r^b\right)^i\ =\ 1$
$( r.e^{(i*\theta)} ) ^ {(a+ib)} = 1.\;$ This simplifies to: $((r^a)/e^{(\theta . b)}) . (e^{(\theta . a)}*r^b)^i = 1.$
Edit 2: Are there any purely complex numbers ( in the form $(m + i*n)$ where $n \neq 0$ ) such that $k^i\ =\ 1$





Let's find all of complex solutions. Let $a=re^{i\theta}$ and $b=x+iy$therefore $$a^b=r^xe^{-\theta y}r^{iy}e^{i\theta x}=1$$ which leads to $$r^x=e^{\theta y}\\r^{iy}e^{i\theta x}=1$$which by simplification gives us$$x\ln r=\theta y\\y\ln r+ \theta x=2k\pi\qquad,\qquad k\in\Bbb Z$$we are looking for the solutions where $\theta=0,\pi$ and $y=0$. Substituting $y=0$ gives us$$x\ln r=0\\\theta x=2k\pi$$
If $r\ne 1$ then $\ln r\ne 0$ and we have the trivial answer $x=0$ or $b=0$ and $a\ne 0$.
If $r=1$ and $\theta=0$ the 2nd equality is satisfied with $k=0$ and we have the trivial answer $a=1$ and any $b\in \Bbb R$.
If $r=1$ and $\theta=\pi$ we have $$x=2k\quad,\quad\forall k$$which gives us another trivial answer $a=-1$ and $b=2k$ where $k$ is integer, therefore