#include <bits/stdc++.h>
using namespace std;
int a, b, c, x, y;
int main() {
  x = 0;
  y = 0;
  cin >> a >> b >> c;
  while (c == x - 1) {
    if (c % x == 0) {
      if (a <= x <= b) {
        y++;
        x++;
      }
    } else {
      x++;
    }
  }
  cout << y;
  return 0;
}
