#include <bits/stdc++.h>
int main() {
  int a, b, c;
  int i, sq, count = 0;
  scanf("%d %d %d", &a, &b, &c);
  sq = sqrt(c);
  if (b > sq) {
    b = sq;
  }
  for (i = a; a <= b; i++) {
    if (c % i == 0) {
      count++;
    }
  }
  printf("%d\n", count);
  return 0;
}
