// How Many Divisors?
// http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D
//
// Accepted

use std::io::{Read, stdin};

fn main() {
    let stdin = stdin();
    let mut stdin = stdin.lock();

    let mut buf = String::new();
    stdin.read_to_string(&mut buf).unwrap();

    let mut data = buf.split_whitespace();

    let a: i32 = data.next().unwrap().parse().unwrap();
    let b: i32 = data.next().unwrap().parse().unwrap();
    let c: i32 = data.next().unwrap().parse().unwrap();

    let mut counter = 0;

    for i in a..=b {
        if c % i == 0 {
            counter += 1;
        }
    }

    println!("{}", counter);
}
