public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, n;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();
    n = 0;

    for(;a < (b + 1);a++){
      if(c % a == 0)++n;
    }

    System.out.println(n);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, n;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();
    n = 0;

    for(;a < (b + 1);a++){
      if(c % a == 0)++n;
    }

    System.out.println(n);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} Main public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, n;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();
    n = 0;

    for(;a < (b + 1);a++){
      if(c % a == 0)++n;
    }

    System.out.println(n);
/*fin*/
    sc.close();
  } run {
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, n;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();
    n = 0;

    for(;a < (b + 1);a++){
      if(c % a == 0)++n;
    }

    System.out.println(n);
/*fin*/
    sc.close();
  } java.util.Scanner sc = new java.util.Scanner(in); sc new java.util.Scanner(in) int a a b b c c n; n a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc n = 0 n 0 for(;a < (b + 1);a++){
      if(c % a == 0)++n;
    } ; a < (b + 1) a (b + 1) b 1 a++ a++ a {
      if(c % a == 0)++n;
    } {
      if(c % a == 0)++n;
    } if(c % a == 0)++n; c % a == 0 c % a c a 0 ++n n System.out.println(n) System.out.println System.out System System.out n sc.close() sc.close sc java.io.InputStream in in java.io.PrintStream out out public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  } main {
    (new Main()).run(System.in, System.out);
  } (new Main()).run(System.in, System.out) (new Main()).run (new Main()) System.in System System.in System.out System System.out String[] args args public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, n;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();
    n = 0;

    for(;a < (b + 1);a++){
      if(c % a == 0)++n;
    }

    System.out.println(n);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, n;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();
    n = 0;

    for(;a < (b + 1);a++){
      if(c % a == 0)++n;
    }

    System.out.println(n);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} Main
public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, n;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();
    n = 0;

    for(;a < (b + 1);a++){
      if(c % a == 0)++n;
    }

    System.out.println(n);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
}