#include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <string>
#include <vector>
#include <list>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <algorithm>
using namespace std;

int main() {
  int H, A, B;
  cin >> H >> A >> B;
  int cnt = 0;
  for(int i=A; i<=B; ++i) {
    if(H % i == 0) ++cnt;
  }
  cout << cnt << endl;
}


