========================================================
Explanation:
i = sqrt(-1)
Lets list out the first few powers of i
By the time we reach the fourth power, we repeat the cycle over again (since i^0 is also equal to 1). The cycle is of length 4, which means we'll divide the exponent over 4 to find the remainder. Ignore the quotient. That remainder will determine if we go for i^0, i^1, i^2 or i^3.
For example, i^5 = i^1 because 5/4 leads to a remainder 1.
Another example: i^6 = i^2 since 6/4 = 1 remainder 2
Again, we only care about the remainder to find out which bin we land on.
-------------
Turning to the question your teacher gave you, we have,
739/4 = 184 remainder 3
So i^739 = i^3 = -i
--------------
Side notes: