const input = require('fs').readFileSync('/dev/stdin', 'utf8')
const [a, b, c] = input.split(/\s/).map(s => parseInt(s, 10));

 var results = [];
    for(var i=1; i<=c; i++) {
        if( (c%i === 0) ) {
            results.push(i);
        }
    }
 let count = 0;
    for(i=0; i<=results.length; i++) {
        if (a <= results[i] && results[i] <= b) {
            count++;
        }
    }
console.log(count);
