I am just plugging into a formula:

For a mod n

I have been interpreting the int as the greatest integer.

I would say to be careful with the work done above. I can find no standardization for that formula for complex numbers. As a matter of fact some say floor or int are not defined for complex numbers. Others define them differently than Mathematica does.

]]>That is not the correct expression. Mathematica confirms what I did in post #3.

]]>For 5 mod 2+2i;

So the answer is 1.

For 4+5i mod 3;

So the answer is 1 - i.

]]>5 mod 2+2i

4+5i mod 3

3+i mod 1+i

i mod 3

56 mod 5i]]>