#include<bits/stdc++.h>
using namespace std;
#define rep(i,x,y) for(int i=x;i<y;i++)
#define print(a,n) rep(i,0,n){ cout<<(i ? " ":"")<<a[i]; }cout<<endl;
#define pprint(a,m,n) rep(j,0,m){ print(a[j],n); }
const int mod = 1e9+7;
const int size=1e5;
const int INF=1e9;
int main(){
	int H,A,B;cin>>H>>A>>B;
	int cnt=0;
	rep(i,A,B+1){
		if(H%i==0) cnt++;
	}cout<<cnt<<endl;
	return 0;
}
