#include using namespace std; typedef long long int ll; typedef pair P; typedef vector VI; typedef vector VVI; #define REP(i,n) for(int i=0;i> n >> m; for(int i=1;i<=m;i++){ if(n<=i) cout << 0 << endl; else cout << power(n/i,i-n%i)*power(n/i+1,n%i)%MOD << endl; } return 0; }