0%

Problem 892


Problem 892


Zebra Circles

Consider a circle where 2n distinct points have been marked on its circumference.

A cutting C consists of connecting the 2n points with n line segments, so that no two line segments intersect, including on their end points. The n line segments then cut the circle into n+1 pieces. Each piece is painted either black or white, so that adjacent pieces are opposite colours. Let d(C) be the absolute difference between the numbers of black and white pieces under the cutting C.

Let D(n) be the sum of d(C) over all different cuttings C. For example, there are five different cuttings with n=3.

0892_Zebra.png

The upper three cuttings all have d=0 because there are two black and two white pieces; the lower two cuttings both have d=2 because there are three black and one white pieces. Therefore D(3)=0+0+0+2+2=4. You are also given D(100)1172122931(mod1234567891).

Find n=1107D(n). Give your answer modulo 1234567891.


斑马圆

考虑圆周上标记有2n个不同的点的圆。

圆上的一个切割C是指用n条线段连接这2n个点,使得任意两条线段不相交且不共端点。这n条线段将圆切割成n+1块,每块区域被涂成黑色或白色,并满足相邻区域的颜色相反。令d(C)为在切割C下黑色和白色区域数量的差值的绝对值。

D(n)为所有不同切割Cd(C)之和。例如,当n=3时,有五种不同的切割。

0892_Zebra.png

上排三种切割均对应d=0,因为它们都有两个黑色区域和两个白色区域;下排两种切割均对应d=2,因为它们有三个黑色区域和一个白色区域。因此D(3)=0+0+0+2+2=4。已知D(100)1172122931(mod1234567891)

n=1107D(n),并对1234567891取余作为你的答案。


Gitalking ...