For any positive real number a>1, the value of greatest integer of a will belong to the interval (0,1).
Find the smallest positive integer value of n for which (1+i)n(1−n)n−2 is a real number.