Don't really have time to think about this, but you can sort of generate the sum (ie by looking at the pattern) with
(1/1000) * sum i * 1000^-i , i = 0 to infinity
You could try and do a sum of a sum of geometric series and make it work
http://www.wolframalpha.com/input/?i=sum+i+*+1000%5E-i%2C+i%...
(998001 / 2997 = 3)