#include <iostream>
using namespace std;
int main(void){
    int H,a,b,count=0;
    cin>>H>>a>>b;
    for(int i=a;i<=b;i++){
        if(H%i==0){
            count++;
        }
    }
    cout<<count<<endl;
}

