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