#include <bits/stdc++.h>
using namespace std;

int main()
{
	int H, A, B;
	int cnt = 0;

	cin >> H >> A >> B;

	for ( int i = A; i <= B; i++ ) {
		cnt += H % i == 0;
	}

	cout << cnt << endl;

	return ( 0 );
}
