function main(input) {
    var data = input.split(' ');
    var low = parseInt(data[0]);
    var high = parseInt(data[1]);
    var number = parseInt(data[2]);
    var countDivisor = 0;
    for (var divisor = low; divisor <= high; divisor++) {
        if ((number % divisor) === 0) {
            countDivisor += 1;
        }
    }
    console.log(countDivisor);
}

process.stdin.resume();
var input = '';  
process.stdin.setEncoding('utf-8');
process.stdin.on('data', function(chunk) {
  input += chunk;
});
process.stdin.on('end', function() {
  var inputData = input.split('\n');
  main(inputData);
});