Express the following complex numbers in the standard form a + i b :
(i) (1+i)(1+2i)(ii) 3+2i−2+i(iii) 1(2+i)2(iv) 1−i1+i(v) (2+i)32+3i(vi) (1+i)(1+√3i)1−i(vii) 2+3i4+5i(viii) (1−i)31−i3(ix) (1+2i)−3(x) 3−4i(4−2i)(1+i)(xi) (11−4i−21+i)(3−4i5+i)(xii) 5+√2i1−√2i
The value of i + i2 + i3 + i4 is __