import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		int st = 0;
		int end = 0;
		int x = 0;
		int cnt = 0;

		Scanner sc= new Scanner(System.in);

		st = sc.nextInt();
		end = sc.nextInt();
		x = sc.nextInt();

		for ( int i = st ; i <= end ; i++ ) {
			if ( x % i == 0) {
				cnt++;
			}
				}
		System.out.println( cnt );
		sc.close();
	}
}
 import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		int st = 0;
		int end = 0;
		int x = 0;
		int cnt = 0;

		Scanner sc= new Scanner(System.in);

		st = sc.nextInt();
		end = sc.nextInt();
		x = sc.nextInt();

		for ( int i = st ; i <= end ; i++ ) {
			if ( x % i == 0) {
				cnt++;
			}
				}
		System.out.println( cnt );
		sc.close();
	}
} Main public static void main(String[] args) {

		int st = 0;
		int end = 0;
		int x = 0;
		int cnt = 0;

		Scanner sc= new Scanner(System.in);

		st = sc.nextInt();
		end = sc.nextInt();
		x = sc.nextInt();

		for ( int i = st ; i <= end ; i++ ) {
			if ( x % i == 0) {
				cnt++;
			}
				}
		System.out.println( cnt );
		sc.close();
	} main {

		int st = 0;
		int end = 0;
		int x = 0;
		int cnt = 0;

		Scanner sc= new Scanner(System.in);

		st = sc.nextInt();
		end = sc.nextInt();
		x = sc.nextInt();

		for ( int i = st ; i <= end ; i++ ) {
			if ( x % i == 0) {
				cnt++;
			}
				}
		System.out.println( cnt );
		sc.close();
	} int st = 0; st 0 int end = 0; end 0 int x = 0; x 0 int cnt = 0; cnt 0 Scanner sc= new Scanner(System.in); sc new Scanner(System.in) st = sc.nextInt() st sc.nextInt() sc.nextInt sc end = sc.nextInt() end sc.nextInt() sc.nextInt sc x = sc.nextInt() x sc.nextInt() sc.nextInt sc for ( int i = st ; i <= end ; i++ ) {
			if ( x % i == 0) {
				cnt++;
			}
				} int i = st ; int i = st ; i st i <= end i end i++ i++ i {
			if ( x % i == 0) {
				cnt++;
			}
				} {
			if ( x % i == 0) {
				cnt++;
			}
				} if ( x % i == 0) {
				cnt++;
			} x % i == 0 x % i x i 0 {
				cnt++;
			} cnt++ cnt System.out.println( cnt ) System.out.println System.out System System.out cnt sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {

		int st = 0;
		int end = 0;
		int x = 0;
		int cnt = 0;

		Scanner sc= new Scanner(System.in);

		st = sc.nextInt();
		end = sc.nextInt();
		x = sc.nextInt();

		for ( int i = st ; i <= end ; i++ ) {
			if ( x % i == 0) {
				cnt++;
			}
				}
		System.out.println( cnt );
		sc.close();
	}
} public class Main {

	public static void main(String[] args) {

		int st = 0;
		int end = 0;
		int x = 0;
		int cnt = 0;

		Scanner sc= new Scanner(System.in);

		st = sc.nextInt();
		end = sc.nextInt();
		x = sc.nextInt();

		for ( int i = st ; i <= end ; i++ ) {
			if ( x % i == 0) {
				cnt++;
			}
				}
		System.out.println( cnt );
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		int st = 0;
		int end = 0;
		int x = 0;
		int cnt = 0;

		Scanner sc= new Scanner(System.in);

		st = sc.nextInt();
		end = sc.nextInt();
		x = sc.nextInt();

		for ( int i = st ; i <= end ; i++ ) {
			if ( x % i == 0) {
				cnt++;
			}
				}
		System.out.println( cnt );
		sc.close();
	}
}

