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