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