{ ll @n,@m; ++n; rep(x,1,m+1){ Modint a=n/x; int b=n%x; wt((a+1)**(b)*(a)**(x-b-1)*(a-1)); } }