We form blocks containing 4 successive numbers viz, (i+2i2+3i3+4i4) + (5i5+..) and so on.
We see that the sum of each block is 2-2i. Let there be such n blocks. So we have
| n(2-2i) | = 18√2
=> (2n)2 + (2n)2 = 648
=> 8n2 = 648
=> n = 9
So there are such 9 blocks viz. 36 numbers.