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