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