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