var input = require('fs').readFileSync('/dev/stdin', 'utf8');
var no = input.split(' ').map(Number);
var a = no[0];
var b = no[1];
var c = no[2];
var divisors = [];
for(var i = a; i <= b; i++){
    if(c % i === 0){
        divisors.push(i);
    }
}
console.log(divisors.length);
