#include <stdio.h>

int main()
{
	int a, b, c;
	int i,num;

	while(scanf("%d %d %d", &a, &b, &c) == 3)
	{
		num = 0;
		for(i = a; i <= b; i++)
		{
			if(c % i == 0)
			{
				num = num + 1;
			}
		}
		puts("%d\n",num);
	}
	
	return 0;
}