import java.util.Scanner;

public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		int b = s.nextInt();
		int c = s.nextInt();
		int count = 0;
		for(int i = a; i <= b; i++){
	        if(c % i == 0) count++; 
		}
		System.out.println(count);
	}
	
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} import java.util.Scanner; Scanner java.util public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		int b = s.nextInt();
		int c = s.nextInt();
		int count = 0;
		for(int i = a; i <= b; i++){
	        if(c % i == 0) count++; 
		}
		System.out.println(count);
	}
	
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} Main void run(){
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		int b = s.nextInt();
		int c = s.nextInt();
		int count = 0;
		for(int i = a; i <= b; i++){
	        if(c % i == 0) count++; 
		}
		System.out.println(count);
	} run {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		int b = s.nextInt();
		int c = s.nextInt();
		int count = 0;
		for(int i = a; i <= b; i++){
	        if(c % i == 0) count++; 
		}
		System.out.println(count);
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int a = s.nextInt(); a s.nextInt() s.nextInt s int b = s.nextInt(); b s.nextInt() s.nextInt s int c = s.nextInt(); c s.nextInt() s.nextInt s int count = 0; count 0 for(int i = a; i <= b; i++){
	        if(c % i == 0) count++; 
		} int i = a; int i = a; i a i <= b i b i++ i++ i {
	        if(c % i == 0) count++; 
		} {
	        if(c % i == 0) count++; 
		} if(c % i == 0) count++; c % i == 0 c % i c i 0 count++ count System.out.println(count) System.out.println System.out System System.out count public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	} main {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	} new Main().run() new Main().run new Main() String[] args args public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		int b = s.nextInt();
		int c = s.nextInt();
		int count = 0;
		for(int i = a; i <= b; i++){
	        if(c % i == 0) count++; 
		}
		System.out.println(count);
	}
	
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		int b = s.nextInt();
		int c = s.nextInt();
		int count = 0;
		for(int i = a; i <= b; i++){
	        if(c % i == 0) count++; 
		}
		System.out.println(count);
	}
	
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} Main
import java.util.Scanner;

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