#include<bits/stdc++.h>
using namespace std;
int main(){
    int n,k;
    cin >> n >> k;
    int x=k;//蓝球
    int y=n-k;//红球
    for(int i=1;i<=k;i++){
        if(i==1){
            cout << y+1 <<endl;
        }
        else{
           if(i>=y+2)
                cout << "0" <<endl;
           else{
                if(y-i+1>0)
                    cout << (y-i+2)*(y+1)<<endl;
                else
                    cout << "1" <<endl;
           }
        }
    }
    return 0;
}
