def main():
    inp = input()
    [x, y, z] = list(map(int, inp.split()))
    count = 0
    for i in range(x, y + 1):
        count += 1 if x % i == 0 else 0
    print(count)

if __name__ == '__main__':
    main()
