#include <stdio.h>

int main(void){
	int i,cou=0,a,b,c;
	do{
		scanf("%d %d %d",&a,&b,&c);
	}while(a<1 || a>10000 || b<1 || b>10000 || c<1 || c>10000 || b<a);

	for(i=a;i<=b;i++){
		if(c%i = 0)
			cou++;
	}
	printf("%d\n",cou);
	return 0;
}