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