#include <bits/stdc++.h>
using namespace std;
int a, b, c;
int number = 0;
int main() {
  cin >> a >> b >> c;
  for (int x = a; x <= b; x++) {
    double d = c / x;
    if (ceil(d) == floor(d)) {
      ++number;
    }
  }
  cout << number;
}
