These spirolaterals are patterns formed by the repetition of a simple rule. The base pattern is formed by drawing a number of line segments of increasing length turning a fixed angle after each segment. Drawing continues in the same manner until either the pattern returns to its starting point, or it becomes apparent that it will never do so.

For example, consider a 3 segment, 90 degree process. The figure below shows each complete cycle in the process in bright red (3 line segments of lengths 1, 2 and 3, with a 90 degree turn after each segment). After four cycles, the line returns to the starting point thus closing the pattern.

I have used the turtle to draw these patterns. Your task is to choose the numbers which will duplicate my pattern.