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