import java.util.*;

class HowManyDivisors {
    public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int a = sc.nextInt();
        final int b = sc.nextInt();
        final int c = sc.nextInt();
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0)
                cnt++;
        }
        System.out.println(cnt);
    }
}
public class Main {
    public static void main(String... args) {
        HowManyDivisors.main();
    }
} import java.util.*; util.* java class HowManyDivisors {
    public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int a = sc.nextInt();
        final int b = sc.nextInt();
        final int c = sc.nextInt();
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0)
                cnt++;
        }
        System.out.println(cnt);
    }
} HowManyDivisors public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int a = sc.nextInt();
        final int b = sc.nextInt();
        final int c = sc.nextInt();
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0)
                cnt++;
        }
        System.out.println(cnt);
    } main {
        final Scanner sc = new Scanner(System.in);
        final int a = sc.nextInt();
        final int b = sc.nextInt();
        final int c = sc.nextInt();
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0)
                cnt++;
        }
        System.out.println(cnt);
    } final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc final int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc final int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int cnt = 0; cnt 0 for (int i = a; i <= b; i++) {
            if (c % i == 0)
                cnt++;
        } int i = a; int i = a; i a i <= b i b i++ i++ i {
            if (c % i == 0)
                cnt++;
        } {
            if (c % i == 0)
                cnt++;
        } if (c % i == 0)
                cnt++; c % i == 0 c % i c i 0 cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt String...args args public class Main {
    public static void main(String... args) {
        HowManyDivisors.main();
    }
} Main public static void main(String... args) {
        HowManyDivisors.main();
    } main {
        HowManyDivisors.main();
    } HowManyDivisors.main() HowManyDivisors.main HowManyDivisors String... args args public class Main {
    public static void main(String... args) {
        HowManyDivisors.main();
    }
} public class Main {
    public static void main(String... args) {
        HowManyDivisors.main();
    }
} Main
import java.util.*;

class HowManyDivisors {
    public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int a = sc.nextInt();
        final int b = sc.nextInt();
        final int c = sc.nextInt();
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0)
                cnt++;
        }
        System.out.println(cnt);
    }
}
public class Main {
    public static void main(String... args) {
        HowManyDivisors.main();
    }
}