#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long a, b, c;
  long co = 0;
  cin >> a >> b >> c;
  for (long i = a; i < b + 1; i++) {
    for (long j = 0; j < 10000; j++) {
      if (i * j == c) {
        co += 1;
      }
    }
  }
  cout << co << endl;
}
