#include <bits/stdc++.h>
int main() {
  int a, b, c, x[100], i, j, count = 0, count2 = 0;
  for (i = 0; i < 100; i++) {
    x[i] = 0;
  }
  scanf("%d %d %d", &a, &b, &c);
  for (i = 1; i < 101; i++) {
    if (c % i == 0) {
      x[i] = c / i;
    }
    count++;
    if (x[i] == 1) {
      break;
    }
  }
  for (i = a; i <= b; i++) {
    for (j = 1; j <= count; j++) {
      if (i == x[j]) {
        count2++;
      }
    }
  }
  printf("%d", count2);
  return 0;
}
