import java.util.*;
import java.io.*;

public class Main {

	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		PrintWriter out=new PrintWriter(System.out);
		int a=in.nextInt(),b=in.nextInt(),c=in.nextInt();
		int res=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)res++;
		}
		out.println(res);
		out.flush();
	}

}
 import java.util.*; util.* java import java.io.*; io.* java public class Main {

	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		PrintWriter out=new PrintWriter(System.out);
		int a=in.nextInt(),b=in.nextInt(),c=in.nextInt();
		int res=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)res++;
		}
		out.println(res);
		out.flush();
	}

} Main public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		PrintWriter out=new PrintWriter(System.out);
		int a=in.nextInt(),b=in.nextInt(),c=in.nextInt();
		int res=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)res++;
		}
		out.println(res);
		out.flush();
	} main {
		Scanner in=new Scanner(System.in);
		PrintWriter out=new PrintWriter(System.out);
		int a=in.nextInt(),b=in.nextInt(),c=in.nextInt();
		int res=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)res++;
		}
		out.println(res);
		out.flush();
	} Scanner in=new Scanner(System.in); in new Scanner(System.in) PrintWriter out=new PrintWriter(System.out); out new PrintWriter(System.out) int a=in.nextInt() a in.nextInt() in.nextInt in b=in.nextInt() b in.nextInt() in.nextInt in c=in.nextInt(); c in.nextInt() in.nextInt in int res=0; res 0 for(int i=a;i<=b;i++) {
			if(c%i==0)res++;
		} int i=a; int i=a; i a i<=b i b i++ i++ i {
			if(c%i==0)res++;
		} {
			if(c%i==0)res++;
		} if(c%i==0)res++; c%i==0 c%i c i 0 res++ res out.println(res) out.println out res out.flush() out.flush out String[] args args public class Main {

	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		PrintWriter out=new PrintWriter(System.out);
		int a=in.nextInt(),b=in.nextInt(),c=in.nextInt();
		int res=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)res++;
		}
		out.println(res);
		out.flush();
	}

} public class Main {

	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		PrintWriter out=new PrintWriter(System.out);
		int a=in.nextInt(),b=in.nextInt(),c=in.nextInt();
		int res=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)res++;
		}
		out.println(res);
		out.flush();
	}

} Main
import java.util.*;
import java.io.*;

public class Main {

	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		PrintWriter out=new PrintWriter(System.out);
		int a=in.nextInt(),b=in.nextInt(),c=in.nextInt();
		int res=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)res++;
		}
		out.println(res);
		out.flush();
	}

}

