Project Euler #153: Investigating Gaussian Integers

  • + 2 comments

    Hi guys,

    would anybody be so nice to explain to me, how 2+2i is a divisor of 4. My result is

    (4*(2-2i)) / 8

    Which shouldn't be a divisor if I understood everything correctly.

    Thanks in advance.