#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, x;
  int sum = 0;
  cin >> a >> b >> c;
  for (int i = a; i <= b; i++) {
    x = c / i;
    if (x % 1 == 0) {
      sum += 1;
    }
  }
  cout << sum << endl;
  return 0;
}
