for ( var i = tamanho; i >= 1; i-- ) {
        soma += numeros.charAt( tamanho - i ) * pos--;
        if ( pos < 2 ) {
            pos = 9;
        }