#include <bits/stdc++.h>
using namespace std;
struct Edge {
  int src, dst;
  int weight;
  Edge(int src, int dst, int weight) : src(src), dst(dst), weight(weight) {}
};
bool operator<(const Edge &e, const Edge &f) {
  return e.weight != f.weight ? e.weight > f.weight
         : e.src != f.src     ? e.src < f.src
                              : e.dst < f.dst;
}
int main() {
  int a, b, c;
  int cnt = 0;
  scanf("%d %d %d", &a, &b, &c);
  for (int i = a; i < (int)b; i++) {
    if (c % i == 0) cnt++;
  }
  printf("%d\n", cnt);
  return 0;
}
