#include <bits/stdc++.h>
int main() {
  int r1, r2, in;
  scanf("%d %d %d", &r1, &r2, &in);
  int ans = 0;
  for (int i = r1; i < r2; i++) {
    if (in % i == 0) ans++;
  }
  printf("%d\n", ans);
  return 0;
}
