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