#include <bits/stdc++.h>
using namespace std;
template <class T>
bool checkMin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool checkMax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
int dp[2009][2009], dp1[2009][2009];
vector<int> adj[100009];
int main() {
  int n, k;
  cin >> n >> k;
  for (int i = 1; i <= n; i++)
    for (int j = 1; j <= i; j++)
      if (i % j == 0) adj[i].push_back(j);
  for (int i = 1; i <= max(n, k) + 1; i++)
    dp[i][1] = 1, dp[1][i] = 1, dp1[1][i] = 1, dp1[i][1] = i;
  for (int j = 2; j <= k + 1; j++)
    for (int i = 2; i <= n; i++) {
      for (int k = 0; k < adj[i].size(); k++)
        dp[i][j] = (dp[i][j] + dp[adj[i][k]][j - 1]) % 1000000007;
      dp1[i][j] = (dp1[i - 1][j] + dp[i][j - 1]) % 1000000007;
    }
  cout << dp1[n][k + 1] << endl;
  return 0;
}
