### 20.07.2017
x = []
a, b, c = map(int, input().split())
for i in range(a, b):
	if c % i ==0:
		x.append(i)
print(len(x))### 20.07.2017
x = []
a, b, c = map(int, input().split())
for i in range(a, b+1):
	if c % i ==0:
		x.append(i)
print(len(x))