#include <bits/stdc++.h>
int main(int argc, char const *argv[]) {
  size_t a, b, c;
  std::cin >> a >> b >> c;
  unsigned int num = 0;
  for (size_t i = a; i < b; ++i) {
    if (c % i == 0 && i != 1) {
      num++;
    }
  }
  std::cout << num << std::endl;
}
