public class Main {

	public void run(java.io.InputStream in, java.io.PrintStream out) {
		final java.util.Scanner sc = new java.util.Scanner(in);
		final int a = sc.nextInt();
		final int b = sc.nextInt();
		final int c = sc.nextInt();
		int res = 0;
		sc.close();
		
		for (int i = a; i <= b; ++i) {
			if (c % i == 0) {
				res += 1;
			}
		}
		out.println(res);
	}
	
	public static void main(String[] args) {
		(new Main()).run(System.in, System.out);
	}

} public class Main {

	public void run(java.io.InputStream in, java.io.PrintStream out) {
		final java.util.Scanner sc = new java.util.Scanner(in);
		final int a = sc.nextInt();
		final int b = sc.nextInt();
		final int c = sc.nextInt();
		int res = 0;
		sc.close();
		
		for (int i = a; i <= b; ++i) {
			if (c % i == 0) {
				res += 1;
			}
		}
		out.println(res);
	}
	
	public static void main(String[] args) {
		(new Main()).run(System.in, System.out);
	}

} Main public void run(java.io.InputStream in, java.io.PrintStream out) {
		final java.util.Scanner sc = new java.util.Scanner(in);
		final int a = sc.nextInt();
		final int b = sc.nextInt();
		final int c = sc.nextInt();
		int res = 0;
		sc.close();
		
		for (int i = a; i <= b; ++i) {
			if (c % i == 0) {
				res += 1;
			}
		}
		out.println(res);
	} run {
		final java.util.Scanner sc = new java.util.Scanner(in);
		final int a = sc.nextInt();
		final int b = sc.nextInt();
		final int c = sc.nextInt();
		int res = 0;
		sc.close();
		
		for (int i = a; i <= b; ++i) {
			if (c % i == 0) {
				res += 1;
			}
		}
		out.println(res);
	} final java.util.Scanner sc = new java.util.Scanner(in); sc new java.util.Scanner(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 res = 0; res 0 sc.close() sc.close sc for (int i = a; i <= b; ++i) {
			if (c % i == 0) {
				res += 1;
			}
		} int i = a; int i = a; i a i <= b i b ++i ++i i {
			if (c % i == 0) {
				res += 1;
			}
		} {
			if (c % i == 0) {
				res += 1;
			}
		} if (c % i == 0) {
				res += 1;
			} c % i == 0 c % i c i 0 {
				res += 1;
			} res += 1 res 1 out.println(res) out.println out res java.io.InputStream in in java.io.PrintStream out out public static void main(String[] args) {
		(new Main()).run(System.in, System.out);
	} main {
		(new Main()).run(System.in, System.out);
	} (new Main()).run(System.in, System.out) (new Main()).run (new Main()) System.in System System.in System.out System System.out String[] args args public class Main {

	public void run(java.io.InputStream in, java.io.PrintStream out) {
		final java.util.Scanner sc = new java.util.Scanner(in);
		final int a = sc.nextInt();
		final int b = sc.nextInt();
		final int c = sc.nextInt();
		int res = 0;
		sc.close();
		
		for (int i = a; i <= b; ++i) {
			if (c % i == 0) {
				res += 1;
			}
		}
		out.println(res);
	}
	
	public static void main(String[] args) {
		(new Main()).run(System.in, System.out);
	}

} public class Main {

	public void run(java.io.InputStream in, java.io.PrintStream out) {
		final java.util.Scanner sc = new java.util.Scanner(in);
		final int a = sc.nextInt();
		final int b = sc.nextInt();
		final int c = sc.nextInt();
		int res = 0;
		sc.close();
		
		for (int i = a; i <= b; ++i) {
			if (c % i == 0) {
				res += 1;
			}
		}
		out.println(res);
	}
	
	public static void main(String[] args) {
		(new Main()).run(System.in, System.out);
	}

} Main
public class Main {

	public void run(java.io.InputStream in, java.io.PrintStream out) {
		final java.util.Scanner sc = new java.util.Scanner(in);
		final int a = sc.nextInt();
		final int b = sc.nextInt();
		final int c = sc.nextInt();
		int res = 0;
		sc.close();
		
		for (int i = a; i <= b; ++i) {
			if (c % i == 0) {
				res += 1;
			}
		}
		out.println(res);
	}
	
	public static void main(String[] args) {
		(new Main()).run(System.in, System.out);
	}

}