Rosetta Problems

$\sum_{i=0}^{\infty} r^i i^d$

https://judge.yosupo.jp/problem/sum_of_exponential_times_polynomial_limit