812. Dynamical Polynomials

A dynamical polynomial is a monic polynomial f(x) with integer coefficients such that f(x) divides f(x22).

For example, f(x)=x2x2 is a dynamical polynomial because f(x22)=x45x2+4=(x2+x2)f(x).

Let S(n) be the number of dynamical polynomials of degree n. For example, S(2)=6, as there are six dynamical polynomials of degree 2:

x24x+4,x2x2,x24,x21,x2+x1,x2+2x+1

Also, S(5)=58 and S(20)=122087.

Find S(10000). Give your answer modulo 998244353.

812. 壮悍多项式

若某整系数首 1 多项式 f(x) 满足 f(x) 整除 f(x22),则称其为壮悍多项式

例如,f(x)=x2x2 是壮悍多项式,因为 f(x22)=x45x2+4=(x2+x2)f(x)

S(n) 为次数为 n 的壮悍多项式的个数。例如,有 6 个次数为 2 的壮悍多项式,故 S(2)=6

x24x+4,x2x2,x24,x21,x2+x1,x2+2x+1

同理亦有 S(5)=58S(20)=122087

S(10000)998244353 之值。


这个链接 回到源站。

这个链接 回到详细版题目目录。