#include <bits/stdc++.h>
int main() {
  int a = 0, b = 0, c = 0, i = 0, j = 0, k = 0;
  scanf("%d %d %d", &a, &b, &c);
  i = c / 2;
  while (i > 0) {
    j = c % i;
    if (j == 0) {
      if (a <= i && i <= b) {
        k = k++;
      }
    }
    i--;
  }
  printf("%d\n", k);
  return 0;
}
