Zebra Circles
Consider a circle where distinct points have been marked on its circumference.
A cutting consists of connecting the points with line segments, so that no two line segments intersect, including on their end points. The line segments then cut the circle into pieces. Each piece is painted either black or white, so that adjacent pieces are opposite colours. Let be the absolute difference between the numbers of black and white pieces under the cutting .
Let be the sum of over all different cuttings . For example, there are five different cuttings with .
The upper three cuttings all have because there are two black and two white pieces; the lower two cuttings both have because there are three black and one white pieces. Therefore . You are also given .
Find . Give your answer modulo .
斑马圆
考虑圆周上标记有个不同的点的圆。
圆上的一个切割是指用条线段连接这个点,使得任意两条线段不相交且不共端点。这条线段将圆切割成块,每块区域被涂成黑色或白色,并满足相邻区域的颜色相反。令为在切割下黑色和白色区域数量的差值的绝对值。
令为所有不同切割的之和。例如,当时,有五种不同的切割。
上排三种切割均对应,因为它们都有两个黑色区域和两个白色区域;下排两种切割均对应,因为它们有三个黑色区域和一个白色区域。因此。已知。
求,并对取余作为你的答案。
Gitalking ...