import java.util.Scanner;
class Main{
	
	Scanner sc = new Scanner(System.in);
	int a;
	int b;
	int c;
	int su=0;
	void rp4(){
	
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		for(int i=a; i<=b; i++){
			if(c%i==0) su++;
		}
		System.out.println(su);
	}
	
	public static void main(String[]agrs){
		new Main().rp4();
	}
} import java.util.Scanner; Scanner java.util class Main{
	
	Scanner sc = new Scanner(System.in);
	int a;
	int b;
	int c;
	int su=0;
	void rp4(){
	
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		for(int i=a; i<=b; i++){
			if(c%i==0) su++;
		}
		System.out.println(su);
	}
	
	public static void main(String[]agrs){
		new Main().rp4();
	}
} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a; a int b; b int c; c int su=0; su 0 void rp4(){
	
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		for(int i=a; i<=b; i++){
			if(c%i==0) su++;
		}
		System.out.println(su);
	} rp4 {
	
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		for(int i=a; i<=b; i++){
			if(c%i==0) su++;
		}
		System.out.println(su);
	} a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc for(int i=a; i<=b; i++){
			if(c%i==0) su++;
		} int i=a; int i=a; i a i<=b i b i++ i++ i {
			if(c%i==0) su++;
		} {
			if(c%i==0) su++;
		} if(c%i==0) su++; c%i==0 c%i c i 0 su++ su System.out.println(su) System.out.println System.out System System.out su public static void main(String[]agrs){
		new Main().rp4();
	} main {
		new Main().rp4();
	} new Main().rp4() new Main().rp4 new Main() String[]agrs agrs
import java.util.Scanner;
class Main{
	
	Scanner sc = new Scanner(System.in);
	int a;
	int b;
	int c;
	int su=0;
	void rp4(){
	
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		for(int i=a; i<=b; i++){
			if(c%i==0) su++;
		}
		System.out.println(su);
	}
	
	public static void main(String[]agrs){
		new Main().rp4();
	}
}