import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int min = sc.nextInt();
		int max = sc.nextInt();
		int divide = sc.nextInt();
		sc.close();

		int count = 0;
		for(int i=min; i<=max; i++) {
			if(divide % i == 0) count++;
		}

		System.out.println(count);

	}

}
 import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int min = sc.nextInt();
		int max = sc.nextInt();
		int divide = sc.nextInt();
		sc.close();

		int count = 0;
		for(int i=min; i<=max; i++) {
			if(divide % i == 0) count++;
		}

		System.out.println(count);

	}

} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int min = sc.nextInt();
		int max = sc.nextInt();
		int divide = sc.nextInt();
		sc.close();

		int count = 0;
		for(int i=min; i<=max; i++) {
			if(divide % i == 0) count++;
		}

		System.out.println(count);

	} main {

		Scanner sc = new Scanner(System.in);

		int min = sc.nextInt();
		int max = sc.nextInt();
		int divide = sc.nextInt();
		sc.close();

		int count = 0;
		for(int i=min; i<=max; i++) {
			if(divide % i == 0) count++;
		}

		System.out.println(count);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int min = sc.nextInt(); min sc.nextInt() sc.nextInt sc int max = sc.nextInt(); max sc.nextInt() sc.nextInt sc int divide = sc.nextInt(); divide sc.nextInt() sc.nextInt sc sc.close() sc.close sc int count = 0; count 0 for(int i=min; i<=max; i++) {
			if(divide % i == 0) count++;
		} int i=min; int i=min; i min i<=max i max i++ i++ i {
			if(divide % i == 0) count++;
		} {
			if(divide % i == 0) count++;
		} if(divide % i == 0) count++; divide % i == 0 divide % i divide i 0 count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int min = sc.nextInt();
		int max = sc.nextInt();
		int divide = sc.nextInt();
		sc.close();

		int count = 0;
		for(int i=min; i<=max; i++) {
			if(divide % i == 0) count++;
		}

		System.out.println(count);

	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int min = sc.nextInt();
		int max = sc.nextInt();
		int divide = sc.nextInt();
		sc.close();

		int count = 0;
		for(int i=min; i<=max; i++) {
			if(divide % i == 0) count++;
		}

		System.out.println(count);

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int min = sc.nextInt();
		int max = sc.nextInt();
		int divide = sc.nextInt();
		sc.close();

		int count = 0;
		for(int i=min; i<=max; i++) {
			if(divide % i == 0) count++;
		}

		System.out.println(count);

	}

}

