#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<queue>
#include<functional>
#define REP(i,n) for(int i=0;i<(n);++i)
#define REPA(i,n) for(int i=1;i<(n);++i)
#define PII pair<int,int>
#define PLI pair<long long, int>
#define MOD ((int)1e9 + 7)
#define INF ((int)1e9)
#define ALL(x) (x).begin(),(x).end()
#define ctoi(x) (x - 'a') 
#define CTOI(x) (x - 'A')
using namespace std;
int count(int x){
    int i = 1;
    while(x){
        ++i;
        x /= 2;
    }
    return i;
}
int main(){
    int N,K;
    cin >> N >> K;
    if(count(N) < K){
        cout << 0 << endl;
        return 0;
    }
    vector<long long> line(N+1,1);
    long long ans = 0;
    REP(i,K){
        for(int j = N;j>=1;--j){
            for(int k = j * 2;k<=N;k+=j){
                line[k] += line[j];
            }
            if(i+1==K)ans+=line[j];
            line[j] = 0;
        }
    }
    cout << ans << endl;
    return 0;
}

