#include<iostream>
using namespace std;

int main()
{
    int h, a, b, cnt = 0;

    cin >> h >> a >> b;

    for( int i = a; i <= b; i++ )
        if( h % i == 0 )
            cnt++;
    cout << cnt << endl;

    return 0;
}

