import java.util.*;

class Main{
	static int a;
	static int b;
	static int c;
	static int x;
	private static Scanner sc;
	public static void main(String[]agrs){
		sc=new Scanner(System.in);
		a=sc.nextInt();
		b=sc.nextInt();
		c=sc.nextInt();
		for(;a<=b;a++){
			if(c%a==0){
				x=x+1;
			}
			
		}
		System.out.println(x);

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

		
		
	}
} Main static int a; a static int b; b static int c; c static int x; x private static Scanner sc; sc public static void main(String[]agrs){
		sc=new Scanner(System.in);
		a=sc.nextInt();
		b=sc.nextInt();
		c=sc.nextInt();
		for(;a<=b;a++){
			if(c%a==0){
				x=x+1;
			}
			
		}
		System.out.println(x);

		
		
	} main {
		sc=new Scanner(System.in);
		a=sc.nextInt();
		b=sc.nextInt();
		c=sc.nextInt();
		for(;a<=b;a++){
			if(c%a==0){
				x=x+1;
			}
			
		}
		System.out.println(x);

		
		
	} sc=new Scanner(System.in) sc new Scanner(System.in) 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(;a<=b;a++){
			if(c%a==0){
				x=x+1;
			}
			
		} ; a<=b a b a++ a++ a {
			if(c%a==0){
				x=x+1;
			}
			
		} {
			if(c%a==0){
				x=x+1;
			}
			
		} if(c%a==0){
				x=x+1;
			} c%a==0 c%a c a 0 {
				x=x+1;
			} x=x+1 x x+1 x 1 System.out.println(x) System.out.println System.out System System.out x String[]agrs agrs
import java.util.*;

class Main{
	static int a;
	static int b;
	static int c;
	static int x;
	private static Scanner sc;
	public static void main(String[]agrs){
		sc=new Scanner(System.in);
		a=sc.nextInt();
		b=sc.nextInt();
		c=sc.nextInt();
		for(;a<=b;a++){
			if(c%a==0){
				x=x+1;
			}
			
		}
		System.out.println(x);

		
		
	}
}