I understand that:
$a^{ib}$ = $Cos[bLn(a)]+iSin[bLn(a)]$
Mathematica calculates N[$7^{6i}$] = $0 + 117649i$ $\quad$ and $\quad$ N[Cos[6Log[7]] + iSin[6Log[7]]] = $0.628704848492136 - 0.7776440146252527i$
I would expect '$0 + 117649i$' and '$0.628704848492136 - 0.7776440146252527i$' to differ by a period of $\pi$, but that doesn't seem to be the case.
That is, 0 $\neq$ 0.628704848492136 $\pm$ $n\pi$
What am I not understanding correctly? Thank you.
Your expectation is wrong because you are not respecting operator precedence:
If you use $N[7^{6i}] =$
N[7^(6i)]you get the coinciding result