import java.io.*;

class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

//		while(true) {
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[1]);
			int c = Integer.parseInt(line[2]);
			int count = 0;

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
				count++;
				}
			}
			System.out.println(count);
//		}
	}
} import java.io.*; io.* java class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

//		while(true) {
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[1]);
			int c = Integer.parseInt(line[2]);
			int count = 0;

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
				count++;
				}
			}
			System.out.println(count);
//		}
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

//		while(true) {
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[1]);
			int c = Integer.parseInt(line[2]);
			int count = 0;

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
				count++;
				}
			}
			System.out.println(count);
//		}
	} main {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

//		while(true) {
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[1]);
			int c = Integer.parseInt(line[2]);
			int count = 0;

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
				count++;
				}
			}
			System.out.println(count);
//		}
	} BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() String[] line = br.readLine().split(" "); line br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(line[0]); a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 int b = Integer.parseInt(line[1]); b Integer.parseInt(line[1]) Integer.parseInt Integer line[1] line 1 int c = Integer.parseInt(line[2]); c Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 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++ count System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.io.*;

class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

//		while(true) {
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[1]);
			int c = Integer.parseInt(line[2]);
			int count = 0;

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
				count++;
				}
			}
			System.out.println(count);
//		}
	}
}