This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A330660 #37 Jun 13 2021 03:19:48 %S A330660 1,0,1,5,6,1,140,183,36,1,7479,9982,2536,162,1,636944,880738,267664, %T A330660 28381,672,1,79661322,113973276,39717471,5860934,285078,2718,1, %U A330660 13781863080,20321795499,7893750308,1475570241,113442968,2712595,10908,1 %N A330660 Triangle read by rows: T(n,k) is the number of polygons formed by connecting the vertices of a regular {2*n+1}-gon such that they make k turns around the center point. %C A330660 Polygons that differ by rotation or reflection are counted separately. %C A330660 By "2*n+1-sided polygons" we mean the polygons that can be drawn by connecting 2*n+1 equally spaced points on a circle. %C A330660 T(0,0)=1 by convention. %C A330660 T(n,k) is the number of polygons with 2*n+1 sides whose winding number around the center point is k. %C A330660 Only polygons with an odd number of sides are considered, since even-sided polygons may have diagonals passing through the center point. %H A330660 Andrew Howroyd, <a href="/A330660/b330660.txt">Table of n, a(n) for n = 0..54</a> %H A330660 Ludovic Schwob, <a href="/A330660/a330660.pdf">Illustration of T(3,k), 0 <= k <= 3</a> %H A330660 Dan Sunday, <a href="http://geomalgorithms.com/a03-_inclusion.html">Inclusion of a Point in a Polygon</a>, (2001). %H A330660 Wikipedia, <a href="https://en.wikipedia.org/wiki/Winding_number">Winding number</a> %F A330660 T(n,n)=1 for all n >= 0: The only solution is the polygon with Schläfli symbol {2n*1/n}. %e A330660 Triangle begins: %e A330660 1; %e A330660 0, 1; %e A330660 5, 6, 1; %e A330660 140, 183, 36, 1; %e A330660 7479, 9982, 2536, 162, 1; %o A330660 (PARI) %o A330660 T(n)={ %o A330660 local(Cache=Map()); %o A330660 my(dir(p, q)=if(p<=n, if(q>n&&q<=p+n, 'x, 1), if(q<=n&&q>=p-n, 1/'x, 1))); %o A330660 my(recurse(k, p, b) = my(hk=[k, p, b], z); if(!mapisdefined(Cache, hk, &z), %o A330660 z = if(k==0, 1, sum(q=1, 2*n, if(!bittest(b, q), dir(p, q)*self()(k-1, q, b+(1<<q)) ))); %o A330660 mapput(Cache, hk, z)); z); %o A330660 my(p=recurse(2*n, 0, 0)); %o A330660 if(n==0, [1], vector(n+1, i, polcoef(p, i-1)/if(i==1, 2, 1))) %o A330660 } %o A330660 { for(n=0, 6, print(T(n))) } \\ _Andrew Howroyd_, May 16 2021 %Y A330660 Row sums give A001710(2*n) (number of polygons with 2*n+1 sides). %Y A330660 Cf. A343369. %K A330660 nonn,tabl %O A330660 0,4 %A A330660 _Ludovic Schwob_, Dec 23 2019 %E A330660 Terms a(21) and beyond from _Andrew Howroyd_, May 16 2021