function judge(num) { return num === Math.floor(num) }

var input = require('fs').readFileSync('/dev/stdin', 'utf8');
var sp = input.split(" ").map(Number);
var count = 0;
for( var i = sp[0]; i <= sp[1]; i++ ) {
  if( judge( sp[2] / i ) ) count++;
}
console.log(count);