OFFSET
1,2
COMMENTS
EXAMPLE
Row 1: 1;
Row 2: 2, 1;
Row 3: 3, 2, 1;
Row 4: 4, 3, 2, 1;
Row 5: 4, 5, 3, 1, 2;
Row 6: 5, 6, 4, 3, 1, 2;
Row 7: 6, 5, 7, 4, 1, 3, 2;
Row 8: 7, 6, 8, 5, 4, 1, 3, 2;
Row 9: 7, 8, 6, 9, 5, 1, 4, 2, 3;
Row 10: 8, 9, 7, 10, 6, 5, 1, 4, 2, 3;
etc.
Row 3: The first point is (Pi/2, 1), the second point is (Pi,0) and the third point is (3*Pi/2, -1). Sorting by the Y value and reading the points by their index, we have 3, 2, 1.
Row 4: The first point is at (2*Pi/5, sqrt(5/8 + sqrt(5)/8)), point two is at (4*Pi/5, sqrt(5/8 - sqrt(5)/8)), point three is at (6*Pi/5, -sqrt(5/8 - sqrt(5)/8)) and point four is at (8*Pi/5, -sqrt(5/8 + sqrt(5)/8)). Sorting the point labels by their Y values in increasing order, we have 4, 3, 2, 1.
MATHEMATICA
f[n_] := Transpose[ Sort[ Table[{N[ Sin[ 2i*Pi/(n +1)], 9], i}, {i, n}]]][[2]]; Array[f, 13] // Flatten
CROSSREFS
KEYWORD
AUTHOR
Robert G. Wilson v, Nov 26 2016
STATUS
approved
