2*sum[i*10^[n-i]] from i=1 to n