def getDivisor(a,b,c):
    l = []
    for i in range(1, c):
        divisor = float(c / i)
        if (divisor % int(divisor) == 0 and a < divisor < b):
            l.append(i)
    return len(l)+1
a, b, c = map(int, input().split())
print(getDivisor(a,b,c))