971. Modular Polynomial Composition

Let p be a prime of the form 5k4 and define fp(x)=(xk+x)modp.

Let C(p) be the number of values 0x<p such that fp(m)(x)=x for some positive integer m, that is, x can be obtained by iteratively applying fp on itself starting at x.

For example, C(11)=7, due to x=0,1,2,3,8,9,10.

Let S(N) be the sum of C(p) for all primes of the form 5k4 not exceeding N. For example S(100)=127.

Find S(108).

971. 模意义下多项式复合

取一 5k4 型质数 p,并定义 fp(x)=(xk+x)modp

C(p) 为满足如下条件的 x 的个数:0x<p,且存在正整数 m 使得 fp(m)(x)=x(也就是说,从 x 出发反复迭代应用 fp,最终能回到 x)。

例如 C(11)=7,因满足条件的 x0,1,2,3,8,9,10

S(N) 为所有 C(p) 之和,其中 p 取遍 N5k4 型质数。例如 S(100)=127

S(108)


这个链接 回到源站。

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