import java.util.Scanner; class Main{
    int a,b;
    public void solve(){
        int x, y = 0;
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        for(x = a; x <= b; x++){
            if(c % x == 0){
                y++;
            }
        }
        System.out.println(y);
    }
    public static void main(String[] args){
        new Main().solve();
    }
} import java.util.Scanner; Scanner java.util class Main{
    int a,b;
    public void solve(){
        int x, y = 0;
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        for(x = a; x <= b; x++){
            if(c % x == 0){
                y++;
            }
        }
        System.out.println(y);
    }
    public static void main(String[] args){
        new Main().solve();
    }
} Main int a a b; b public void solve(){
        int x, y = 0;
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        for(x = a; x <= b; x++){
            if(c % x == 0){
                y++;
            }
        }
        System.out.println(y);
    } solve {
        int x, y = 0;
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        for(x = a; x <= b; x++){
            if(c % x == 0){
                y++;
            }
        }
        System.out.println(y);
    } int x x y = 0; y 0 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc for(x = a; x <= b; x++){
            if(c % x == 0){
                y++;
            }
        } x = a; x = a x a x <= b x b x++ x++ x {
            if(c % x == 0){
                y++;
            }
        } {
            if(c % x == 0){
                y++;
            }
        } if(c % x == 0){
                y++;
            } c % x == 0 c % x c x 0 {
                y++;
            } y++ y System.out.println(y) System.out.println System.out System System.out y public static void main(String[] args){
        new Main().solve();
    } main {
        new Main().solve();
    } new Main().solve() new Main().solve new Main() String[] args args
import java.util.Scanner; class Main{
    int a,b;
    public void solve(){
        int x, y = 0;
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        for(x = a; x <= b; x++){
            if(c % x == 0){
                y++;
            }
        }
        System.out.println(y);
    }
    public static void main(String[] args){
        new Main().solve();
    }
}