import java.util.Scanner;
public class Main{
	public static void main(String args[]){
	Scanner scan = new Scanner(System.in);
	System.out.println(""+countDivisors(scan.nextInt(),scan.nextInt(),scan.nextInt()));
	}
	
	static int countDivisors(int first, int last, int num){
		int count = 0;
		for(int i=first; i<=last; i++)
			if(num%i==0)
				count++;
		return count;
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String args[]){
	Scanner scan = new Scanner(System.in);
	System.out.println(""+countDivisors(scan.nextInt(),scan.nextInt(),scan.nextInt()));
	}
	
	static int countDivisors(int first, int last, int num){
		int count = 0;
		for(int i=first; i<=last; i++)
			if(num%i==0)
				count++;
		return count;
	}
} Main public static void main(String args[]){
	Scanner scan = new Scanner(System.in);
	System.out.println(""+countDivisors(scan.nextInt(),scan.nextInt(),scan.nextInt()));
	} main {
	Scanner scan = new Scanner(System.in);
	System.out.println(""+countDivisors(scan.nextInt(),scan.nextInt(),scan.nextInt()));
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) System.out.println(""+countDivisors(scan.nextInt(),scan.nextInt(),scan.nextInt())) System.out.println System.out System System.out ""+countDivisors(scan.nextInt(),scan.nextInt(),scan.nextInt()) "" countDivisors(scan.nextInt(),scan.nextInt(),scan.nextInt()) countDivisors scan.nextInt() scan.nextInt scan scan.nextInt() scan.nextInt scan scan.nextInt() scan.nextInt scan String args[] args static int countDivisors(int first, int last, int num){
		int count = 0;
		for(int i=first; i<=last; i++)
			if(num%i==0)
				count++;
		return count;
	} countDivisors {
		int count = 0;
		for(int i=first; i<=last; i++)
			if(num%i==0)
				count++;
		return count;
	} int count = 0; count 0 for(int i=first; i<=last; i++)
			if(num%i==0)
				count++; int i=first; int i=first; i first i<=last i last i++ i++ i if(num%i==0)
				count++; if(num%i==0)
				count++; num%i==0 num%i num i 0 count++ count return count; count int first first int last last int num num public class Main{
	public static void main(String args[]){
	Scanner scan = new Scanner(System.in);
	System.out.println(""+countDivisors(scan.nextInt(),scan.nextInt(),scan.nextInt()));
	}
	
	static int countDivisors(int first, int last, int num){
		int count = 0;
		for(int i=first; i<=last; i++)
			if(num%i==0)
				count++;
		return count;
	}
} public class Main{
	public static void main(String args[]){
	Scanner scan = new Scanner(System.in);
	System.out.println(""+countDivisors(scan.nextInt(),scan.nextInt(),scan.nextInt()));
	}
	
	static int countDivisors(int first, int last, int num){
		int count = 0;
		for(int i=first; i<=last; i++)
			if(num%i==0)
				count++;
		return count;
	}
} Main
import java.util.Scanner;
public class Main{
	public static void main(String args[]){
	Scanner scan = new Scanner(System.in);
	System.out.println(""+countDivisors(scan.nextInt(),scan.nextInt(),scan.nextInt()));
	}
	
	static int countDivisors(int first, int last, int num){
		int count = 0;
		for(int i=first; i<=last; i++)
			if(num%i==0)
				count++;
		return count;
	}
}