871. Drifting Subsets

Let f be a function from a finite set S to itself. A drifting subset for f is a subset A of S such that the number of elements in the union A∪f(A) is equal to twice the number of elements of A.
We write D(f) for the maximal number of elements among all drifting subsets for f.

For a positive integer n, define fn as the function from {0,1,…,n−1} to itself sending x to x3+x+1modn.
You are given D(f5)=1 and D(f10)=3.

Find ∑i=1100D(f105+i).

871. 漂移子集

记 f 为某从有限集合 S 到 S 的一个函数。若 S 的一个子集 A 满足:A∪f(A) 的元素个数是 A 的元素个数的 2 倍,则称 A 是 f 的一个 漂移子集。记 D(f) 为:所有 f 的漂移子集中,元素个数的最大值。

对某正整数 n,记 fn 为 {0,1,…,n−1} 上的函数,满足 f(x)=(x3+x+1)modn。 已知:D(f5)=1、D(f10)=3。

求 ∑i=1100D(f105+i)。


点 这个链接 回到源站。

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