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 Af(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,,n1} 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 为某从有限集合 SS 的一个函数。若 S 的一个子集 A 满足:Af(A) 的元素个数是 A 的元素个数的 2 倍,则称 Af 的一个 漂移子集。记 D(f) 为:所有 f 的漂移子集中,元素个数的最大值。

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

i=1100D(f105+i)


这个链接 回到源站。

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