import java.util.Scanner;


class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int i;
		int y = 0;
		for(int x = a; x <= b; x++){
			i = c / x;
			if(c == i * x){
				y = y + 1;
			}
		}
		System.out.println(y);
	}
} import java.util.Scanner; Scanner java.util class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int i;
		int y = 0;
		for(int x = a; x <= b; x++){
			i = c / x;
			if(c == i * x){
				y = y + 1;
			}
		}
		System.out.println(y);
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int i;
		int y = 0;
		for(int x = a; x <= b; x++){
			i = c / x;
			if(c == i * x){
				y = y + 1;
			}
		}
		System.out.println(y);
	} main {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int i;
		int y = 0;
		for(int x = a; x <= b; x++){
			i = c / x;
			if(c == i * x){
				y = y + 1;
			}
		}
		System.out.println(y);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) 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 int i; i int y = 0; y 0 for(int x = a; x <= b; x++){
			i = c / x;
			if(c == i * x){
				y = y + 1;
			}
		} int x = a; int x = a; x a x <= b x b x++ x++ x {
			i = c / x;
			if(c == i * x){
				y = y + 1;
			}
		} {
			i = c / x;
			if(c == i * x){
				y = y + 1;
			}
		} i = c / x i c / x c x if(c == i * x){
				y = y + 1;
			} c == i * x c i * x i x {
				y = y + 1;
			} y = y + 1 y y + 1 y 1 System.out.println(y) System.out.println System.out System System.out y String[] args args
import java.util.Scanner;


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