#include<iostream>
using namespace std;
int main(){
    long H ,A ,B,n;
    n = 0;
    cin >> H >> A >> B;
    //cout << "runnning" <<endl;
    for(int i = A;i <= B; i++){
        if(H % i == 0){
            n++;
            //cout << i << " ";
            if (H / i <= B && H / i != i && H / i >= A ){
                n++;
                B = H / i - 1;
                //cout << H / i <<" ";
            }
            
        }
    }
    //cout<<endl;
    cout << n <<endl;
    return 0;
}
