[tex]\overline{c_1c_2c_3...c_n} = c_1\cdot 10^{n-1} + c_2\cdot 10^{n-2} + ... + c_n\cdot 1 = \sum_{k=1}^n c_k \cdot 10^\left(n-k\right)[/tex]