import java.util.Scanner;

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

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