PROJECT EULER · #0382
Generating Polygons
A polygon is a flat shape consisting of straight line segments that are joined to form a closed chain or circuit. A polygon consists of at least three sides and does not self-intersect.
A set
- no two sides of
are the same length, - the length of every side of
is in , and -
contains no other value.
For example:
The set
The set
The sets
Consider the sequence
, , for .
Let
Let
For example,
Find the last
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.