PROJECT EULER · #0465
Polar Polygons
The kernel of a polygon is defined by the set of points from which the entire polygon's boundary is visible. We define a polar polygon as a polygon for which the origin is strictly contained inside its kernel.
For this problem, a polygon can have collinear consecutive vertices. However, a polygon still cannot have self-intersection and cannot have zero area.
For example, only the first of the following is a polar polygon (the kernels of the second, third, and fourth do not strictly contain the origin, and the fifth does not have a kernel at all):

Notice that the first polygon has three consecutive collinear vertices.
Let
Note that polygons should be counted as different if they have different set of edges, even if they enclose the same area. For example, the polygon with vertices
For example,
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.