import java.io.BufferedReader;
import java.io.InputStreamReader;
import 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 n = 0;
		int kazu = 0;
		for(int i= a;i<=b;i++){
			if (c%i == 0){
				kazu += 1;
			}
		}
		System.out.println(kazu);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.*; util.* java 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 n = 0;
		int kazu = 0;
		for(int i= a;i<=b;i++){
			if (c%i == 0){
				kazu += 1;
			}
		}
		System.out.println(kazu);
	}
} 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 n = 0;
		int kazu = 0;
		for(int i= a;i<=b;i++){
			if (c%i == 0){
				kazu += 1;
			}
		}
		System.out.println(kazu);
	} main {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int n = 0;
		int kazu = 0;
		for(int i= a;i<=b;i++){
			if (c%i == 0){
				kazu += 1;
			}
		}
		System.out.println(kazu);
	} 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 n = 0; n 0 int kazu = 0; kazu 0 for(int i= a;i<=b;i++){
			if (c%i == 0){
				kazu += 1;
			}
		} int i= a; int i= a; i a i<=b i b i++ i++ i {
			if (c%i == 0){
				kazu += 1;
			}
		} {
			if (c%i == 0){
				kazu += 1;
			}
		} if (c%i == 0){
				kazu += 1;
			} c%i == 0 c%i c i 0 {
				kazu += 1;
			} kazu += 1 kazu 1 System.out.println(kazu) System.out.println System.out System System.out kazu String[] args args
import java.io.BufferedReader;
import java.io.InputStreamReader;
import 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 n = 0;
		int kazu = 0;
		for(int i= a;i<=b;i++){
			if (c%i == 0){
				kazu += 1;
			}
		}
		System.out.println(kazu);
	}
}