import std.stdio, std.string, std.conv;

void main() {
    auto input = getStdin!(string[])[0];
    auto num = input.split(" ").to!(int[]);
    int a = num[0];
    int b = num[1];
    int c = num[2];
    int count = 0;
    for (int i = a; i <= b; i++) {
        if (c % i == 0) {
        	count++;
        }
    }
    count.writeln;
}

T getStdin(T)() {
    string[] cmd;
    string line;
    while ((line = chomp(stdin.readln())) != "") cmd ~= line;
    return to!(T)(cmd);
}