import java.util.Scanner;

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

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

		System.out.println(count);
	} main {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt(), b = scanner.nextInt(), c = scanner.nextInt(), count = 0;
		for (int i = a; i <= b; i++)
			if (c % i == 0)
				count++;

		System.out.println(count);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt() a scanner.nextInt() scanner.nextInt scanner b = scanner.nextInt() b scanner.nextInt() scanner.nextInt scanner c = scanner.nextInt() c scanner.nextInt() scanner.nextInt scanner 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++; c % i == 0 c % i c i 0 count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.util.Scanner;

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

		System.out.println(count);
	}
}