842. Irregular Star Polygons

Given equally spaced points on a circle, we define an -star polygon as an -gon having those points as vertices. Two -star polygons differing by a rotation/reflection are considered different.

For example, there are twelve -star polygons shown below.

For an -star polygon , let be the number of its self intersection points. Let be the sum of over all -star polygons . For the example above because in total there are self intersection points.

Some star polygons may have intersection points made from more than two lines. These are only counted once. For example, , shown below is one of the sixty -star polygons. This one has .

You are also given that .

Find . Give your answer modulo .

842. 不规则星形多边形

在圆上均匀分布 个点,我们定义 星形 边形 为以这 个点为顶点的 边形。经旋转、反转后一致的多边形被认为是不同的。

下图是 12 个星形 边形。

对于一个星形 边形 ,记 为该 边形自相交点的个数。记 为所有星形 边形的 之和。已知:

需要注意的是,如果有多于两条边同时交于一点,这个自相交点应该只被计数 1 次。如下图,对于这个星形六边形

又已知:

之值。


这个链接 回到源站。

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