#include <bits/stdc++.h>
using namespace std;
int main() {
  int n = 1, y = 1, x, z = 0;
  cin >> n >> y >> x;
  for (int i = 1; i <= x; i++) {
    if ((x % i == 0) and ((i >= n) and (i <= y))) {
      z++;
    };
  };
  cout << z;
  return 0;
}
