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