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