
process.stdin.resume();
process.stdin.setEncoding('utf8');

process.stdin.on('data', function (chunk) {
    const n = chunk.toString();
    const [a,b,c] = n.split(' ').map(x=>Number(x));
        console.log(yakusu(a,b,c).length);
});

function yakusu(a,b,c){
    var result = [];
    for(var i=a; i<=b; i++) {
        if( (c%i == 0) ) {
            result.push(i);
        }  
    }
    return result;
}
