"use strict";

function Main(input) {
    input=input.replace("\n","").split(" ").map(Number);
    for(var sum=0,i=input[0];i<=input[1];i++)
        if(!(input[2]%i))
            sum++;
    console.log(sum);
}
    
function debug(){
	var input = document.getElementById("input").value;
	Main(input);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));