#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int a, b, c;
  int x = 0;
  cin >> a >> b >> c;
  for (int i = a; i < b + 1; i++) {
    if (c % i == 0) x++;
  }
  if (c != 1)
    cout << x << "\n";
  else
    cout << 0 << "\n";
  return 0;
}
